-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
62 lines (51 loc) · 1.32 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
[package]
name = "kadmium"
version = "0.6.0"
edition = "2021"
authors = ["niklaslong <[email protected]>"]
description = "A broadcast protocol implementation based on Kadcast."
license = "MIT"
repository = "https://github.com/niklaslong/kadmium"
documentation = "https://docs.rs/kadmium"
readme = "README.md"
categories = ["algorithms", "network-programming"]
keywords = ["p2p", "peer-to-peer", "networking"]
rust-version = "1.75"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
full = ["codec", "sync"]
codec = ["tokio-util/codec", "bincode", "bytes/serde"]
sync = ["parking_lot", "tokio"]
[dependencies]
rand = "0.8.5"
time = "0.3.11"
[dependencies.parking_lot]
version = "0.12.1"
optional = true
[dependencies.bincode]
version = "2.0.0-rc.1"
features = ["serde"]
optional = true
[dependencies.bytes]
version = "1.2.0"
[dependencies.tokio]
version = "1.20.0"
features = ["full"]
optional = true
[dependencies.tokio-util]
version = "0.7.3"
optional = true
[dev-dependencies]
deadline = "0.2.0"
paste = "1.0"
pea2pea = "0.49.0"
[dev-dependencies.tracing]
version = "0.1.35"
default-features = false
[dev-dependencies.tracing-subscriber]
version = "0.3.11"
features = [ "env-filter", "fmt" ]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]