[package] name = "librqbit-tracker-comms" version = "2.1.0" edition = "2018" description = "Common interface around various sha1 implementations used in rqbit torrent client." license = "Apache-2.0" documentation = "https://docs.rs/librqbit-tracker-comms" 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-crypto-hash"] sha1-crypto-hash = [ "bencode/sha1-crypto-hash", "librqbit-core/sha1-crypto-hash", ] sha1-ring = ["bencode/sha1-ring", "librqbit-core/sha1-ring"] [dependencies] tokio = "1" anyhow = "1" futures = "0.3" async-stream = "0.3.5" buffers = { path = "../buffers", package = "librqbit-buffers", version = "4.2" } librqbit-core = { path = "../librqbit_core", default-features = false, version = "4.1" } byteorder = "1.5" serde = { version = "1", features = ["derive"] } urlencoding = "2" rand = "0.8" tracing = "0.1.40" reqwest = { version = "0.12", default-features = false, features = ["json"] } bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "3" } url = { version = "2", default-features = false } parking_lot = "0.12.3" tokio-util = "0.7.13"