forked from sunng87/pgwire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
60 lines (54 loc) · 1.65 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
[package]
name = "pgwire"
version = "0.12.0"
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.64"
[dependencies]
log = "0.4"
getset = "0.1.2"
derive-new = "0.5"
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"]}
md5 = "0.7"
hex = "0.4"
## scram libraries
base64 = "0.21"
ring = "0.16"
stringprep = "0.1.2"
x509-certificate = "0.18"
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.23", 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.28.0", features = ["bundled", "column_decltype"] }
## for loading custom cert files
rustls-pemfile = { version = "1.0" }
## webpki-roots has mozilla's set of roots
## rustls-native-certs loads roots from current system
gluesql = "0.13"
## for datafusion example
datafusion = "20"
sqlparser = "0.32"
[features]
default = ["tokio", "time-format"]
tokio = ["dep:tokio", "dep:tokio-util", "dep:tokio-rustls"]
time-format = ["dep:chrono"]
[[example]]
name = "server"
required-features = ["tokio"]