forked from zeromq/zmq.rs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
58 lines (52 loc) · 1.39 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
[package]
name = "zeromq"
version = "0.3.5"
authors = ["Alexei Kornienko <[email protected]>"]
edition = "2021"
description = "A native Rust implementation of ZeroMQ"
license = "MIT"
repository = "https://github.com/zeromq/zmq.rs"
rust-version = "1.62.0"
[features]
default = ["tokio-runtime", "all-transport"]
tokio-runtime = ["tokio", "tokio-util"]
async-std-runtime = ["async-std"]
all-transport = ["ipc-transport", "tcp-transport"]
ipc-transport = []
tcp-transport = []
[dependencies]
thiserror = "1"
futures-channel = { version = "0.3", features = ["sink"] }
futures-io = "0.3"
futures-task = "0.3"
futures-util = { version = "0.3", features = ["sink"] }
async-trait = "0.1"
parking_lot = "0.12"
rand = "0.8"
bytes = "1"
tokio = { version = "1", features = ["full"], optional = true }
tokio-util = { version = "0.7", features = ["compat"], optional = true }
num-traits = "0.2"
dashmap = "5"
crossbeam-queue = "0.3"
uuid = { version = "1", features = ["v4"] }
regex = { version = "1", default-features = false, features = ["std", "unicode-perl"] }
once_cell = "1"
log = "0.4"
asynchronous-codec = "0.7"
async-std = { version = "1", features = ["attributes"], optional = true }
[dev-dependencies]
chrono = "0.4"
criterion = "0.5"
pretty_env_logger = "0.5"
zmq2 = "0.5"
hex = "0.4"
[lib]
bench = false
[[bench]]
name = "pub_sub"
harness = false
bench = false
[[bench]]
name = "req_rep"
harness = false