-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
47 lines (41 loc) · 1.16 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 = "mainline"
version = "4.2.0"
authors = ["nuh.dev"]
edition = "2018"
description = "Simple, robust, BitTorrent's Mainline DHT implementation"
homepage = "https://github.com/pubky/mainline"
license = "MIT"
keywords = ["bittorrent", "torrent", "dht", "kademlia", "mainline"]
categories = ["network-programming"]
repository = "https://github.com/pubky/mainline"
[dependencies]
rand = "0.8.5"
serde_bencode = "^0.2.4"
serde = { version = "1.0.215", features = ["derive"] }
serde_bytes = "0.11.15"
thiserror = "2.0.3"
crc = "3.2.1"
sha1_smol = "1.0.1"
flume = { version = "0.11.1", features = [], default-features = false }
ed25519-dalek = "2.1.1"
bytes = { version = "1.9.0", features = ["serde"] }
tracing = "0.1"
lru = { version = "0.12.5", default-features = false }
document-features = "0.2.10"
[dev-dependencies]
clap = { version = "4.5.21", features = ["derive"] }
futures = "0.3.31"
tracing-subscriber = "0.3"
ctrlc = "3.4.5"
histo = "1.0.0"
rayon = "1.10"
dashmap = "6.1"
[features]
## Enable [Dht::as_async()] to use [async_dht::AsyncDht]
async = ["flume/async"]
default = []
[package.metadata.docs.rs]
all-features = true
[lints.clippy]
unwrap_used = "deny"