# 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-hscrypto" version = "0.25.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Basic onion service cryptography types used by Aerti" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", "cryptography", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [lib] name = "tor_hscrypto" path = "src/lib.rs" [[test]] name = "pow_v1_vectors" path = "tests/pow_v1_vectors.rs" required-features = ["hs-pow-full"] [dependencies.arrayvec] version = "0.7.4" optional = true [dependencies.blake2] version = "0.10.6" optional = true [dependencies.cipher] version = "0.4.1" features = ["zeroize"] optional = true [dependencies.data-encoding] version = "2.3.1" [dependencies.derive-deftly] version = "0.14.2" optional = true [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.digest] version = "0.10.0" [dependencies.equix] version = "0.2.1" optional = true [dependencies.itertools] version = "0.13.0" [dependencies.paste] version = "1" [dependencies.rand] version = "0.8" [dependencies.safelog] version = "0.4.2" [dependencies.signature] version = "2" [dependencies.subtle] version = "2" [dependencies.thiserror] version = "2" [dependencies.tor-basic-utils] version = "0.25.0" [dependencies.tor-bytes] version = "0.25.0" [dependencies.tor-error] version = "0.25.0" [dependencies.tor-llcrypto] version = "0.25.0" features = [ "hsv3-client", "hsv3-service", ] [dependencies.tor-memquota] version = "0.25.0" optional = true default-features = false [dependencies.tor-units] version = "0.25.0" [dependencies.void] version = "1" [dependencies.zeroize] version = "1" optional = true [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.humantime] version = "2" [dev-dependencies.tor-basic-utils] version = "0.25.0" [features] __is_experimental = [] default = [] experimental = ["hs-pow-full"] full = [ "memquota-memcost", "ope", "safelog/full", "tor-basic-utils/full", "tor-bytes/full", "tor-llcrypto/full", "tor-units/full", "tor-error/full", "equix?/full", "tor-memquota?/full", ] hs-pow-full = [ "arrayvec", "blake2", "equix", "__is_experimental", ] memquota-memcost = [ "derive-deftly", "tor-memquota", "tor-units/memquota-memcost", "tor-llcrypto/memquota-memcost", ] ope = [ "cipher", "zeroize", ]