From 8911a71c5755526137fa03ffc6e2fa51ec2edce0 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Wed, 15 Nov 2023 14:22:10 +0000 Subject: [PATCH] Preparing DHT --- crates/dht/Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crates/dht/Cargo.toml b/crates/dht/Cargo.toml index b11cf40..5564351 100644 --- a/crates/dht/Cargo.toml +++ b/crates/dht/Cargo.toml @@ -2,9 +2,20 @@ name = "librqbit-dht" version = "2.2.1" edition = "2018" +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 +[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] tokio = {version = "1", features = ["macros", "rt-multi-thread", "net", "sync"]} tokio-stream = {version = "0.1", features = ["sync"]}