# 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-cell" version = "0.25.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Encode and decode Tor cells and messages" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", "protocol", ] categories = [ "parser-implementations", "network-programming", ] 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_cell" path = "src/lib.rs" [[test]] name = "test_chancell" path = "tests/test_chancell.rs" [[test]] name = "test_relaycell" path = "tests/test_relaycell.rs" [[test]] name = "testvec_chanmsg" path = "tests/testvec_chanmsg.rs" [[test]] name = "testvec_relaymsg" path = "tests/testvec_relaymsg.rs" [dependencies.amplify] version = "4" features = ["derive"] default-features = false [dependencies.bitflags] version = "2" [dependencies.bytes] version = "1" [dependencies.caret] version = "0.5.0" [dependencies.derive-deftly] version = "0.14.2" [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.educe] version = "0.4.6" [dependencies.paste] version = "1" [dependencies.rand] version = "0.8" [dependencies.smallvec] version = "1.10" [dependencies.thiserror] version = "2" [dependencies.tor-basic-utils] version = "0.25.0" [dependencies.tor-bytes] version = "0.25.0" [dependencies.tor-cert] version = "0.25.0" [dependencies.tor-error] version = "0.25.0" [dependencies.tor-hscrypto] version = "0.25.0" features = ["memquota-memcost"] optional = true [dependencies.tor-linkspec] version = "0.25.0" [dependencies.tor-llcrypto] version = "0.25.0" features = ["memquota-memcost"] [dependencies.tor-memquota] version = "0.25.0" default-features = false [dependencies.tor-units] version = "0.25.0" features = ["memquota-memcost"] [dependencies.void] version = "1" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [features] __is_experimental = [] default = [] experimental = [ "experimental-udp", "hs", "hs-pow-full", "testing", ] experimental-udp = ["__is_experimental"] full = [ "caret/full", "tor-basic-utils/full", "tor-bytes/full", "tor-cert/full", "tor-error/full", "tor-hscrypto?/full", "tor-linkspec/full", "tor-llcrypto/full", "tor-units/full", "tor-memquota/full", ] hs = [ "tor-hscrypto", "__is_experimental", ] hs-pow-full = [ "tor-hscrypto/hs-pow-full", "__is_experimental", ] testing = [ "experimental-udp", "__is_experimental", ]