-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
47 lines (42 loc) · 1.67 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
[package]
name = "pea2pea"
version = "0.50.0"
authors = ["ljedrz <[email protected]>"]
edition = "2021"
description = "A simple, low-level, and customizable implementation of a TCP P2P node."
license = "CC0-1.0"
repository = "https://github.com/ljedrz/pea2pea"
documentation = "https://docs.rs/pea2pea"
readme = "README.md"
categories = ["network-programming", "asynchronous"]
keywords = ["p2p", "peer-to-peer", "networking"]
rust-version = "1.80"
[badges]
maintenance = { status = "actively-developed" }
[lib]
crate-type = ["lib"]
[features]
test = []
[dependencies]
bytes = "1"
futures-util = { version = "0.3", features = ["sink"] }
parking_lot = "0.12"
tokio = { version = "1.24", features = ["io-util", "net", "parking_lot", "rt", "sync", "time"] }
tokio-util = { version = "0.7", features = ["codec"] }
tracing = { version = "0.1", default-features = false }
[dev-dependencies]
bincode = "1"
deadline = "0.2"
libp2p = { version = "0.54", default-features = false, features = ["macros", "noise", "ping", "tcp", "tokio", "yamux"] }
native-tls = "0.2"
peak_alloc = "0.2"
prost = "0.13"
rand = { version = "0.8", default-features = false, features = ["getrandom", "small_rng"] }
serde = { version = "1", default-features = false, features = ["derive"] }
snow = "0.9.6"
test-cert-gen = "0.9"
tokio = { version = "1.24", features = ["macros", "rt-multi-thread"] }
tokio-native-tls = "0.3"
tracing-subscriber = { version = "0.3", default-features = false, features = ["ansi", "env-filter", "fmt", "parking_lot", "smallvec"] }
unsigned-varint = { version = "0.8", features = ["codec", "futures"] }
pea2pea = { path = ".", features = ["test"] } # a workaround to use the `test` feature in tests by default