forked from nervosnetwork/tentacle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (49 loc) · 1.48 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
[package]
name = "tentacle"
version = "0.2.2"
license = "MIT"
description = "Minimal implementation for a multiplexed p2p network framework."
authors = ["piaoliu <[email protected]>", "Nervos Core Dev <[email protected]>"]
repository = "https://github.com/nervosnetwork/p2p"
include = ["Cargo.toml", "src/*", "README.md", "LICENSE"]
readme = "README.md"
keywords = ["network", "peer-to-peer"]
categories = ["network-programming", "asynchronous"]
edition = "2018"
[dependencies]
yamux = { path = "yamux", version = "0.1.12", package = "tokio-yamux" }
secio = { path = "secio", version = "0.1.7", package = "tentacle-secio" }
futures = "0.1"
tokio = "0.1"
log = "0.4"
bytes = "0.4"
tokio-threadpool = "0.1"
flatbuffers = "0.6.0"
flatbuffers-verifier = "0.2.0"
multiaddr = { package = "parity-multiaddr", version = "0.4.0" }
# upnp
igd = "0.9"
libc = "0.2"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.7"
features = ["minwindef", "ws2def", "winerror"]
[dev-dependencies]
env_logger = "0.6.0"
fnv = "1.0"
crossbeam-channel = "0.3.6"
generic-channel = { version = "0.2.0", features = ["all"] }
systemstat = "0.1.3"
ping = { path = "protocols/ping", package = "tentacle-ping" }
identify = { path = "protocols/identify", package = "tentacle-identify" }
discovery = { path = "protocols/discovery", package="tentacle-discovery" }
[target.'cfg(unix)'.dev-dependencies]
nix = "0.13.0"
[workspace]
members = [
"yamux",
"secio",
"bench",
"protocols/discovery",
"protocols/identify",
"protocols/ping",
]