# 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.77" name = "tor-bytes" version = "0.24.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Helpers for encoding and decoding byte-orientted data, as used by Tor" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", "encoding", ] categories = [ "parsing", "encoding", ] license = "MIT OR Apache-2.0" repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [package.metadata.docs.rs] all-features = true [lib] name = "tor_bytes" path = "src/lib.rs" [dependencies.bytes] version = "1" [dependencies.derive-deftly] version = "0.14" [dependencies.digest] version = "0.10.0" features = [ "subtle", "mac", ] [dependencies.educe] version = "0.4.6" [dependencies.safelog] version = "0.4.1" [dependencies.thiserror] version = "1" [dependencies.tor-error] version = "0.24.0" default-features = false [dependencies.tor-llcrypto] version = "0.24.0" optional = true [dependencies.zeroize] version = "1" features = ["derive"] [dev-dependencies.hex-literal] version = "0.4" [features] default = ["tor-llcrypto"] full = [ "tor-error/full", "tor-llcrypto/full", "safelog/full", "tor-llcrypto?/full", ] [target.wasm32-unknown-unknown.dependencies.getrandom] version = "0.2.3" features = ["js"]