-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
66 lines (54 loc) · 1.17 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
[package]
name = "quanshu"
version = "0.1.0"
edition = "2021"
license = "Apache-2.0 or MIT"
[lib]
name = "quanshu"
# crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bench]]
name = "pydict_convert"
harness = false
[dependencies]
log = "0.4"
anyhow = "1"
futures = "0.3"
socket2 = "0.4"
async-stream = "0.3"
tokio-native-tls = "0.3"
hyper-tungstenite = "0.8"
tokio-graceful-shutdown = "0.8"
pyo3-futures = { git = "https://github.com/songww/pyo3-futures" }
once_cell = "1.10"
parking_lot = "0.12"
[dependencies.clap]
version = "3"
features = ["debug", "derive", "yaml", "env"]
[dependencies.tokio]
version = "1"
features = [
"fs",
"net",
"sync",
"time",
"io-std",
"io-util",
"parking_lot",
"rt-multi-thread",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["net", "sync", "time", "io-util"]
[dependencies.hyper]
version = "0.14"
features = ["tcp", "runtime", "server", "stream", "http1", "http2"]
[dependencies.pyo3]
version = "0.16"
features = ["auto-initialize", "anyhow", "abi3"]
[dev-dependencies]
criterion = "0.3"
[profile.release]
lto = "fat"
codegen-units = 1
opt-level = 3