forked from libp2p/rust-libp2p
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
83 lines (78 loc) · 2.85 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "libp2p"
edition = "2018"
description = "Peer-to-peer networking library"
version = "0.10.0"
authors = ["Parity Technologies <[email protected]>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"]
[features]
default = ["secp256k1", "libp2p-websocket"]
secp256k1 = ["libp2p-core/secp256k1", "libp2p-secio/secp256k1"]
[dependencies]
bytes = "0.4"
futures = "0.1"
multiaddr = { package = "parity-multiaddr", version = "0.5.0", path = "misc/multiaddr" }
multihash = { package = "parity-multihash", version = "0.1.0", path = "misc/multihash" }
lazy_static = "1.2"
libp2p-mplex = { version = "0.10.0", path = "muxers/mplex" }
libp2p-identify = { version = "0.10.0", path = "protocols/identify" }
libp2p-kad = { version = "0.10.0", path = "protocols/kad" }
libp2p-floodsub = { version = "0.10.0", path = "protocols/floodsub" }
libp2p-ping = { version = "0.10.0", path = "protocols/ping" }
libp2p-plaintext = { version = "0.10.0", path = "protocols/plaintext" }
libp2p-ratelimit = { version = "0.10.0", path = "transports/ratelimit" }
libp2p-core = { version = "0.10.0", path = "core" }
libp2p-core-derive = { version = "0.10.0", path = "misc/core-derive" }
libp2p-secio = { version = "0.10.0", path = "protocols/secio", default-features = false }
libp2p-swarm = { version = "0.1.0", path = "swarm" }
libp2p-uds = { version = "0.10.0", path = "transports/uds" }
libp2p-wasm-ext = { version = "0.3.0", path = "transports/wasm-ext" }
libp2p-yamux = { version = "0.10.0", path = "muxers/yamux" }
parking_lot = "0.8"
smallvec = "0.6"
tokio-codec = "0.1"
tokio-executor = "0.1"
tokio-io = "0.1"
wasm-timer = "0.1"
[target.'cfg(not(any(target_os = "emscripten", target_os = "unknown")))'.dependencies]
libp2p-deflate = { version = "0.2.0", path = "protocols/deflate" }
libp2p-dns = { version = "0.10.0", path = "transports/dns" }
libp2p-mdns = { version = "0.10.0", path = "misc/mdns" }
libp2p-noise = { version = "0.8.0", path = "protocols/noise" }
libp2p-tcp = { version = "0.10.0", path = "transports/tcp" }
libp2p-websocket = { version = "0.10.0", path = "transports/websocket", optional = true }
[dev-dependencies]
env_logger = "0.6.0"
tokio = "0.1"
tokio-stdin-stdout = "0.1"
[workspace]
members = [
"core",
"misc/core-derive",
"misc/mdns",
"misc/multiaddr",
"misc/multihash",
"misc/multistream-select",
"misc/peer-id-generator",
"misc/rw-stream-sink",
"muxers/mplex",
"muxers/yamux",
"protocols/floodsub",
"protocols/identify",
"protocols/kad",
"protocols/noise",
"protocols/observed",
"protocols/ping",
"protocols/plaintext",
"protocols/secio",
"swarm",
"transports/dns",
"transports/ratelimit",
"transports/tcp",
"transports/uds",
"transports/websocket",
"transports/wasm-ext"
]