forked from broxus/everscale-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (69 loc) · 1.94 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
[package]
name = "everscale-network"
version = "0.5.5"
description = "Implementation of the network part of the Everscale blockchain"
repository = "https://github.com/broxus/everscale-network"
authors = ["Ivan Kalinin <[email protected]>"]
rust-version = "1.64.0"
edition = "2021"
include = ["src/**/*.rs", "src/**/*.tl", "README.md"]
license = "Apache-2.0"
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "adnl"
path = "examples/adnl.rs"
[[example]]
name = "rldp"
path = "examples/rldp.rs"
[[example]]
name = "dht"
path = "examples/dht.rs"
[[example]]
name = "overlay-broadcast"
path = "examples/overlay_broadcast.rs"
[[example]]
name = "overlay-query"
path = "examples/overlay_query.rs"
[profile.release]
debug = true
[dependencies]
aes = "0.8"
ahash = "0.8"
anyhow = "1.0"
async-trait = "0.1"
bytes = "1"
crossbeam-queue = { version = "0.3", optional = true }
ctr = "0.9"
dashmap = "5.4"
everscale-crypto = "0.2.0-pre.1"
everscale-raptorq = { version = "1.7.0", optional = true }
frunk_core = "0.4"
futures-util = "0.3"
generic-array = "0.14"
hex = "0.4"
libc = "0.2"
once_cell = "1.13.0"
parking_lot = { version = "0.12", features = ["hardware-lock-elision"] }
rand = { version = "0.8", features = ["small_rng"] }
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10"
smallvec = { version = "1.9.0", features = ["union", "const_generics"] }
thiserror = "1.0"
tl-proto = { version = "0.4", features = ["derive", "bytes"] }
tokio = { version = "1", features = ["sync", "net", "rt", "time", "io-util", "macros"] }
tokio-util = "0.7.0"
tracing = "0.1"
zstd = { version = "0.12", optional = true }
[dev-dependencies]
base64 = "0.21"
serde_json = "1.0"
public-ip = "0.2"
tokio = { version = "1", features = ["rt-multi-thread", "parking_lot"] }
tracing-subscriber = "0.3"
[features]
default = ["log", "rldp", "dht", "overlay"]
log = ["tracing/log"]
rldp = ["dep:everscale-raptorq", "dep:zstd"]
dht = []
overlay = ["rldp", "dep:crossbeam-queue"]