-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
46 lines (39 loc) · 1.15 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
[package]
name = "mainline"
version = "3.0.1"
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.133", features = ["derive"] }
serde_bytes = "0.11.5"
thiserror = "1.0.49"
crc = "3.0.1"
sha1_smol = "1.0.0"
flume = { version = "0.11.0", features = [], default-features = false}
ed25519-dalek = "2.1.0"
bytes = "1.5.0"
tracing = "0.1"
lru = { version = "0.12.2", default-features = false }
document-features = "0.2.10"
[dev-dependencies]
clap = { version = "4.4.8", features = ["derive"] }
futures = "0.3.29"
tracing-subscriber = "0.3"
[features]
## Enable [Dht::as_async()] to use [async_dht::AsyncDht]
async = ["flume/async"]
## Private feature to export ClosestNodes struct. Not a public API.
__private_simulation = []
default = []
[package.metadata.docs.rs]
all-features = true
[lints.clippy]
unwrap_used = "deny"