# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "mainline" version = "2.0.1" authors = ["nuh.dev"] description = "Simple, robust, BitTorrent's Mainline DHT implementation" homepage = "https://github.com/nuhvi/mainline" readme = "README.md" keywords = [ "bittorrent", "torrent", "dht", "kademlia", "mainline", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/nuhvi/mainline" [package.metadata.docs.rs] all-features = true [dependencies.bytes] version = "1.5.0" [dependencies.crc] version = "3.0.1" [dependencies.ed25519-dalek] version = "2.1.0" [dependencies.flume] version = "0.11.0" features = [] default-features = false [dependencies.lru] version = "0.12.2" default-features = false [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.133" features = ["derive"] [dependencies.serde_bencode] version = "^0.2.4" [dependencies.serde_bytes] version = "0.11.5" [dependencies.sha1_smol] version = "1.0.0" [dependencies.thiserror] version = "1.0.49" [dependencies.tracing] version = "0.1" [dev-dependencies.clap] version = "4.4.8" features = ["derive"] [dev-dependencies.futures] version = "0.3.29" [dev-dependencies.tracing-subscriber] version = "0.3" [features] async = ["flume/async"] default = []