You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.
Trying to use this crate with the tokio-postgres crate will not work, as this crate expects to implement postgres::ToSql, and not tokio_postgres::ToSql. Even though the two traits are identical.
The text was updated successfully, but these errors were encountered:
postgres::ToSql and tokio_postgres::ToSql are the same trait, so as a workaround you can just depend on the postgres crate as well.
I think the "right" solution here is to split out a postgres-types crate with a derive Cargo feature so there's a single canonical place for the traits to be defined in and named from.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to use this crate with the
tokio-postgres
crate will not work, as this crate expects to implementpostgres::ToSql
, and nottokio_postgres::ToSql
. Even though the two traits are identical.The text was updated successfully, but these errors were encountered: