Hi!
I am writing a web app with Postgres for DB , I am trying to get rust-postgres and UUID crates to work together . In the rust-postgres documentation it says to enable 'uuid' feature . I've installed both crates and enable features ,but's not working.
I keep getting 'the trait bound uuid::Uuid: postgres::types::ToSql is not satisfied ' same with the time crate.
my cargo.toml file
[features]
production =
dev =
[dependencies]
hyper= "*"
cookie = "0.2"
uuid = { version = "0.3.1",features = ["serde", "v4"] }
time = "0.1.35"
regex = "0.1.73"
handlebars = "0.20.2"
rustc-serialize = "0.3"
rust-crypto = "0.2.36"
rand = "0.3.14"
url = "1.2.0"
[dependencies.postgres]
version = "0.11"
features = ["uuid" ]