forked from alex-dukhno/pg_wire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (37 loc) · 1.14 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
[package]
name = "pg_wire"
version = "0.8.1"
description = "Server Side implementation of PostgreSQL Wire Protocol"
license = "Apache-2.0"
repository = "https://github.com/alex-dukhno/pg_wire"
keywords = ["protocol", "postgresql", "postgres", "database"]
authors = ["Alex Dukhno <[email protected]>", "Steven <[email protected]>"]
edition = "2018"
include = [
"src/**/*.rs",
"Cargo.toml",
]
[package.metadata.docs.rs]
features = ["mock_net"]
[features]
default = ["tokio_net"]
async_io = ["async-io", "blocking"]
tokio_net = ["tokio", "tokio-native-tls"]
mock_net = []
[dependencies]
pg_wire_payload = { version = "0.1.0", path = "payload" }
async-mutex = "1.4.0"
async-io = { version = "1.3.1", optional = true }
blocking = { version = "1.0.0", optional = true }
cfg-if = "1.0.0"
tokio = { version = "1.4.0", optional = true, features = ["net", "fs", "io-util"]}
tokio-native-tls = { version = "0.3.0", optional = true }
futures-lite = "1.11.3"
rand_core = "0.6.2"
rand = "0.8"
native-tls = "0.2.7"
[dev-dependencies]
rstest = "0.7.0"
smol = "1.2.5"
tokio = { version = "1.4.0", features = ["net", "io-util", "rt", "rt-multi-thread"] }
[workspace]