-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: use tokio-postgres with simplified typeinfo queries
- Loading branch information
1 parent
66ff515
commit 4ff46b8
Showing
2 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors = [ | ||
"Julius de Bruijn <[email protected]>", | ||
"Katharina Fey <[email protected]>", | ||
"Tom Houlé <[email protected]>", | ||
"Emanuel Jöbstl <[email protected]>", | ||
"Matthias Oertel <[email protected]>", | ||
"Dominic Petrick <[email protected]>", | ||
"Julius de Bruijn <[email protected]>", | ||
"Katharina Fey <[email protected]>", | ||
"Tom Houlé <[email protected]>", | ||
"Emanuel Jöbstl <[email protected]>", | ||
"Matthias Oertel <[email protected]>", | ||
"Dominic Petrick <[email protected]>", | ||
] | ||
description = "An abstraction layer for SQL databases." | ||
documentation = "https://docs.rs/quaint/" | ||
|
@@ -29,30 +29,30 @@ docs = [] | |
expose-drivers = [] | ||
|
||
all-native = [ | ||
"postgresql-native", | ||
"mysql-native", | ||
"mssql-native", | ||
"sqlite-native", | ||
"postgresql-native", | ||
"mysql-native", | ||
"mssql-native", | ||
"sqlite-native", | ||
] | ||
|
||
vendored-openssl = [ | ||
"postgres-native-tls/vendored-openssl", | ||
"mysql_async/vendored-openssl", | ||
"postgres-native-tls/vendored-openssl", | ||
"mysql_async/vendored-openssl", | ||
] | ||
|
||
postgresql-native = [ | ||
"postgresql", | ||
"native-tls", | ||
"tokio-postgres", | ||
"postgres-types", | ||
"postgres-native-tls", | ||
"bytes", | ||
"tokio", | ||
"bit-vec", | ||
"lru-cache", | ||
"byteorder", | ||
"dep:ws_stream_tungstenite", | ||
"dep:async-tungstenite" | ||
"postgresql", | ||
"native-tls", | ||
"tokio-postgres", | ||
"postgres-types", | ||
"postgres-native-tls", | ||
"bytes", | ||
"tokio", | ||
"bit-vec", | ||
"lru-cache", | ||
"byteorder", | ||
"dep:ws_stream_tungstenite", | ||
"dep:async-tungstenite", | ||
] | ||
postgresql = [] | ||
|
||
|
@@ -151,42 +151,42 @@ version = "0.12.3" | |
optional = true | ||
default-features = false | ||
features = [ | ||
"sql-browser-tokio", | ||
"vendored-openssl", | ||
"chrono", | ||
"bigdecimal", | ||
"tds73", | ||
"winauth", | ||
"sql-browser-tokio", | ||
"vendored-openssl", | ||
"chrono", | ||
"bigdecimal", | ||
"tds73", | ||
"winauth", | ||
] | ||
|
||
[dependencies.bigdecimal] | ||
version = "0.3" | ||
|
||
[dependencies.tokio-postgres] | ||
features = [ | ||
"with-uuid-1", | ||
"with-chrono-0_4", | ||
"with-serde_json-1", | ||
"with-bit-vec-0_6", | ||
"with-uuid-1", | ||
"with-chrono-0_4", | ||
"with-serde_json-1", | ||
"with-bit-vec-0_6", | ||
] | ||
git = "https://github.com/prisma/rust-postgres" | ||
branch = "pgbouncer-mode" | ||
branch = "perf/simplify-type-info" | ||
optional = true | ||
|
||
[dependencies.postgres-types] | ||
features = [ | ||
"with-uuid-1", | ||
"with-chrono-0_4", | ||
"with-serde_json-1", | ||
"with-bit-vec-0_6", | ||
"with-uuid-1", | ||
"with-chrono-0_4", | ||
"with-serde_json-1", | ||
"with-bit-vec-0_6", | ||
] | ||
git = "https://github.com/prisma/rust-postgres" | ||
branch = "pgbouncer-mode" | ||
branch = "perf/simplify-type-info" | ||
optional = true | ||
|
||
[dependencies.postgres-native-tls] | ||
git = "https://github.com/prisma/rust-postgres" | ||
branch = "pgbouncer-mode" | ||
branch = "perf/simplify-type-info" | ||
optional = true | ||
|
||
[dependencies.tokio] | ||
|