2021-07-09 22:51:33 +01:00
|
|
|
[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"
|
2021-07-09 22:51:33 +01:00
|
|
|
|
|
|
|
|
# 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"]
|
|
|
|
|
|
2021-07-09 22:51:33 +01:00
|
|
|
[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"
|
2021-07-09 22:51:33 +01:00
|
|
|
hex = "0.4"
|
2023-11-15 13:50:56 +00:00
|
|
|
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"
|
2023-11-28 10:53:22 +00:00
|
|
|
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"]}
|
2023-12-07 08:10:17 +00:00
|
|
|
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"
|