# 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 = "2021" rust-version = "1.65.0" name = "cloudburst" version = "0.0.5" authors = ["Bryant Luk "] include = [ "src/**/*.rs", "Cargo.toml", "CHANGELOG.md", "README.md", "LICENSE-APACHE", "LICENSE-MIT", ] description = "A library to help with the implementation of torrent based protocols and algorithms." documentation = "https://docs.rs/cloudburst/" readme = "README.md" keywords = [ "bittorrent", "torrent", "protocol", "p2p", "distributed", ] categories = ["network-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/bluk/cloudburst" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.bitvec] version = "1.0" default-features = false [dependencies.bt_bencode] version = "0.8" default-features = false [dependencies.bytes] version = "1.1" default-features = false [dependencies.crc32c] version = "0.6" [dependencies.gen_value] version = "0.7" default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1.0" default-features = false [dependencies.serde_bytes] version = "0.11" default-features = false [dependencies.serde_derive] version = "1.0" [dependencies.sha-1] version = "0.10" default-features = false [dependencies.thiserror] version = "1.0" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.proptest] version = "1.3.1" [features] alloc = [ "bt_bencode/alloc", "gen_value/alloc", "serde/alloc", "serde_bytes/alloc", "bitvec/alloc", "bitvec/atomic", "rand/alloc", ] default = ["std"] std = [ "bt_bencode/std", "gen_value/std", "serde/std", "serde_bytes/std", "bytes/std", "bitvec/std", "bitvec/atomic", "rand/std", "rand/std_rng", ]