rqbit/crates/dht/Cargo.toml

42 lines
1.4 KiB
TOML
Raw Normal View History

[package]
2023-11-15 13:56:25 +00:00
name = "librqbit-dht"
2023-12-07 12:33:08 +00:00
version = "5.0.0"
2023-11-22 23:13:27 +00:00
edition = "2021"
2023-11-15 14:22:10 +00:00
description = "DHT implementation, used in rqbit torrent client."
license = "Apache-2.0"
documentation = "https://docs.rs/librqbit-dht"
repository = "https://github.com/ikatson/rqbit"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2023-11-15 14:22:10 +00:00
[features]
default = ["sha1-system"]
sha1-system = ["bencode/sha1-system", "librqbit-core/sha1-system"]
sha1-openssl = ["bencode/sha1-openssl", "librqbit-core/sha1-openssl"]
sha1-rust = ["bencode/sha1-rust", "librqbit-core/sha1-rust"]
[dependencies]
2021-07-10 23:56:42 +01:00
tokio = {version = "1", features = ["macros", "rt-multi-thread", "net", "sync"]}
2021-07-13 16:10:36 +01:00
tokio-stream = {version = "0.1", features = ["sync"]}
2021-07-10 12:26:37 +01:00
serde = {version = "1", features = ["derive"]}
2023-11-22 21:56:00 +00:00
leaky-bucket = "1"
2021-07-14 01:03:39 +01:00
serde_json = "1"
hex = "0.4"
bencode = {path = "../bencode", default-features=false, package="librqbit-bencode", version="2.2.1"}
2021-07-10 23:56:42 +01:00
anyhow = "1"
2022-12-04 13:11:40 +00:00
parking_lot = "0.12"
2023-11-19 12:50:11 +00:00
tracing = "0.1"
backoff = "0.4.0"
2021-07-12 11:56:26 +01:00
futures = "0.3"
2021-07-12 14:38:55 +01:00
rand = "0.8"
2023-11-16 07:36:06 +00:00
indexmap = "2"
2023-11-30 20:50:49 +00:00
dashmap = {version = "5.5.3", features = ["serde"]}
2023-11-15 13:47:26 +00:00
clone_to_owned = {path="../clone_to_owned", package="librqbit-clone-to-owned", version = "2.2.1"}
2023-12-07 12:33:08 +00:00
librqbit-core = {path="../librqbit_core", version = "3.4.0"}
2023-11-30 20:50:49 +00:00
chrono = {version = "0.4.31", features = ["serde"]}
tokio-util = "0.7.10"
2021-07-10 23:56:42 +01:00
[dev-dependencies]
2023-11-30 20:50:49 +00:00
tracing-subscriber = "0.3"