[package] name = "mainline" version = "3.0.0" 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 } [dev-dependencies] clap = { version = "4.4.8", features = ["derive"] } futures = "0.3.29" tracing-subscriber = "0.3" [features] async = ["flume/async"] default = [] [package.metadata.docs.rs] all-features = true [lints.clippy] unwrap_used = "deny"