forked from sunng87/pgwire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
70 lines (62 loc) · 1.91 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "pgwire"
version = "0.19.2"
edition = "2021"
authors = ["Ning Sun <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Postgresql wire protocol implemented as a library"
keywords = ["database", "postgresql"]
categories = ["database"]
homepage = "https://github.com/sunng87/pgwire"
repository = "https://github.com/sunng87/pgwire"
documentation = "https://docs.rs/crate/pgwire/"
readme = "README.md"
rust-version = "1.67"
[dependencies]
log = "0.4"
derive-new = "0.6"
bytes = "1.1.0"
time = "0.3"
futures = "0.3"
async-trait = "0.1"
rand = "0.8"
thiserror = "1"
postgres-types = { version = "0.2", features = ["with-chrono-0_4", "array-impls"]}
md5 = "0.7"
hex = "0.4"
## scram libraries
base64 = "0.21"
ring = "0.17"
stringprep = "0.1.2"
x509-certificate = "0.23"
tokio = { version = "1.19", features = ["net", "rt", "io-util"], optional = true}
tokio-util = { version = "0.7.3", features = ["codec", "io"], optional = true }
tokio-rustls = { version = "0.25", optional = true }
chrono = { version = "0.4", optional = true, features = ["std"] }
[dev-dependencies]
tokio = { version = "1.19", features = ["rt-multi-thread", "net", "macros"]}
rusqlite = { version = "0.31.0", features = ["bundled", "column_decltype"] }
## for duckdb example
duckdb = { version = "0.10.0", features = ["bundled"] }
## for loading custom cert files
rustls-pemfile = "2.0"
rustls-pki-types = "1.0"
## webpki-roots has mozilla's set of roots
## rustls-native-certs loads roots from current system
gluesql = { version = "0.15", default-features = false, features = ["memory-storage"] }
## for datafusion example
datafusion = "36"
sqlparser = "0.43"
[features]
default = ["tokio", "time-format"]
tokio = ["dep:tokio", "dep:tokio-util", "dep:tokio-rustls"]
time-format = ["dep:chrono"]
[[example]]
name = "server"
required-features = ["tokio"]
[workspace]
members = [
".",
"tests-integration/rust-client",
"tests-integration/test-server"
]