-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (31 loc) · 1.04 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
[package]
name = "p2p"
version = "0.3.0"
authors = [
"IOTA Stiftung",
"Elena Frank <elena.frank@iota.org"
]
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
[lib]
name = "p2p"
[dependencies]
futures = "0.3"
libp2p = { version = "0.43.0", default-features = false, features = ["noise", "yamux", "mdns", "relay", "serde"] }
pin-project = "1.0.8"
serde = { version = "1.0", default-features = false, features = [ "alloc", "derive" ] }
serde_json = { version = "1.0", default-features = false, features = [ "alloc" ] }
smallvec = { version = "1.6.1", features = ["serde"] }
thiserror = "1.0.30"
tokio = { version = "1.10", default-features = false, features = ["rt", "sync"] }
wasm-timer = "0.2.5"
[features]
default = [ "tcp-transport"]
tcp-transport = ["libp2p/tcp-tokio", "libp2p/dns-tokio", "libp2p/websocket"]
[dev-dependencies]
actix-rt = "2.5"
libp2p = { version = "0.43.0", default-features = false, features = ["tcp-tokio"] }
rand = "0.8.5"
regex = "1.5"
tokio = {version = "1.10", features = ["time", "macros", "io-std", "io-util"] }