Skip to content

Commit

Permalink
perf: use tokio-postgres with simplified typeinfo queries
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-prisma committed Jan 10, 2025
1 parent 66ff515 commit 4ff46b8
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 41 additions & 41 deletions quaint/Cargo.toml
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/"
Expand All @@ -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 = []

Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 4ff46b8

Please sign in to comment.