# 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-llcrypto" version = "0.24.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Low level cryptography wrappers used by Tor" 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/" [package.metadata.docs.rs] all-features = true [lib] name = "tor_llcrypto" path = "src/lib.rs" [[test]] name = "misc" path = "tests/misc.rs" [[test]] name = "testvec" path = "tests/testvec.rs" [dependencies.aes] version = "0.8" features = ["zeroize"] [dependencies.base64ct] version = "1.5.1" [dependencies.cipher] version = "0.4.3" features = ["zeroize"] optional = true [dependencies.ctr] version = "0.9" features = ["zeroize"] [dependencies.curve25519-dalek] version = "4.1" [dependencies.der-parser] version = "9" features = ["serialize"] [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.ed25519-dalek] version = "2.1" features = [ "batch", "hazmat", ] [dependencies.educe] version = "0.4.6" [dependencies.hex] version = "0.4" [dependencies.openssl] version = "0.10.48" optional = true [dependencies.rand_core] version = "0.6.2" [dependencies.rsa] version = "0.9.0" [dependencies.safelog] version = "0.4.1" [dependencies.serde] version = "1.0.103" [dependencies.sha1] version = "0.10.0" [dependencies.sha2] version = "0.10.0" [dependencies.sha3] version = "0.10.6" [dependencies.signature] version = "2" [dependencies.subtle] version = "2" [dependencies.thiserror] version = "1" [dependencies.tor-memquota] version = "0.24.0" optional = true default-features = false [dependencies.typenum] version = "1.15.0" optional = true [dependencies.visibility] version = "0.1.0" [dependencies.x25519-dalek] version = "2.0.0" features = ["static_secrets"] [dependencies.zeroize] version = "1" [dev-dependencies.cipher] version = "0.4.1" [dev-dependencies.hex-literal] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde_test] version = "1.0.124" [dev-dependencies.tor-basic-utils] version = "0.24.0" [features] __is_experimental = [] __is_nonadditive = [] cvt-x25519 = [] default = [] experimental = [ "relay", "hsv3-client", "hsv3-service", "keymgr", ] full = [ "memquota-memcost", "safelog/full", "tor-memquota?/full", ] hsv3-client = ["__is_experimental"] hsv3-service = ["__is_experimental"] keymgr = [ "cvt-x25519", "__is_experimental", ] memquota-memcost = [ "tor-memquota", "derive-deftly", ] relay = [ "cvt-x25519", "__is_experimental", ] with-openssl = [ "openssl", "typenum", "cipher", "__is_nonadditive", ] with-sha1-asm = [ "sha1/asm", "__is_nonadditive", ] [target.wasm32-unknown-unknown.dependencies.getrandom] version = "0.2.3" features = ["js"]