rust-postgres/rust-postgres

Transitive derive feature from tokio-postgres to postegres-types

Opened this issue · 1 comments

Not sure if it's desired, but now I have to specify:

tokio-postgres = { version = "0.7.12", features = ["with-jiff-0_1"] }
postgres-types = { version = "0.2.8", features = ["derive", "with-jiff-0_1"] }

And I wonder if it's possible to do:

tokio-postgres = { version = "0.7.12", features = ["derive", "with-jiff-0_1"] }

+1,
It'd be nice to use the tokio_postgres::types::... dependency with the derive feature without needing to specify both tokio-postgres and postgres-types in Cargo.toml.