# 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" name = "librqbit-core" version = "4.0.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Important utilities used throughout librqbit useful for working with torrents." documentation = "https://docs.rs/librqbit-core" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/ikatson/rqbit" [lib] name = "librqbit_core" path = "src/lib.rs" [dependencies.anyhow] version = "1" [dependencies.bencode] version = "3.0.1" default-features = false package = "librqbit-bencode" [dependencies.buffers] version = "4" package = "librqbit-buffers" [dependencies.bytes] version = "1.7.1" [dependencies.clone_to_owned] version = "3" package = "librqbit-clone-to-owned" [dependencies.data-encoding] version = "2.6.0" [dependencies.directories] version = "5" [dependencies.hex] version = "0.4" [dependencies.itertools] version = "0.12" [dependencies.parking_lot] version = "0.12" [dependencies.serde] version = "1" features = ["derive"] [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", "time", ] [dependencies.tokio-util] version = "0.7.10" [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2" [dependencies.uuid] version = "1" features = ["v4"] [dev-dependencies.serde_json] version = "1" [features] default = ["sha1-crypto-hash"] sha1-crypto-hash = ["bencode/sha1-crypto-hash"] sha1-ring = ["bencode/sha1-ring"]