gregelenbaas / diesel-citext

Diesel support for citext extension
MIT License
11 stars 11 forks source link

Set sql_types macro so that diesel doesn't complain about Insertable derives #1

Closed ryanmcgrath closed 5 years ago

ryanmcgrath commented 5 years ago

Yo! Seems like a simple oversight, so figured I'd pull request. Using this in a script and noticed diesel complains when I wanna make a struct Insertable that has a CiString. Glancing over diesel-geography it seemed like this was the only difference, and made things work for my case.

Def lemme know if I'm incorrect though!

ryanmcgrath commented 5 years ago

Ping @gregelenbaas - when you get a free moment, can I get a y/n on this? Thanks!

gregelenbaas commented 5 years ago

This looks good! Can you also bump the version to 0.3.0 and I'll publish to Cargo. Thank you!

ryanmcgrath commented 5 years ago

Done~

gregelenbaas commented 5 years ago

Great! 0.3.0 published to crates.io