Cargo.toml
1 [package] 2 name = "tor-cell" 3 version = "0.26.0" 4 authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"] 5 edition = "2021" 6 rust-version = "1.77" 7 license = "MIT OR Apache-2.0" 8 homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" 9 description = "Encode and decode Tor cells and messages" 10 keywords = ["tor", "arti", "protocol"] 11 categories = ["parser-implementations", "network-programming"] 12 repository = "https://gitlab.torproject.org/tpo/core/arti.git/" 13 14 [features] 15 default = [] 16 17 experimental = [ 18 "experimental-udp", 19 "hs", 20 "hs-pow-full", 21 "testing", 22 ] 23 # Enable experimental UDP support. 24 experimental-udp = ["__is_experimental"] 25 26 # "hs" = (all) hidden service support, either client or server 27 hs = ["tor-hscrypto", "__is_experimental"] 28 29 # Enable testing only API 30 testing = ["experimental-udp", "__is_experimental"] 31 32 # Onion service proof of work schemes 33 hs-pow-full = ["tor-hscrypto/hs-pow-full", "__is_experimental"] 34 35 full = [ 36 "caret/full", 37 "tor-basic-utils/full", 38 "tor-bytes/full", 39 "tor-cert/full", 40 "tor-error/full", 41 "tor-hscrypto?/full", 42 "tor-linkspec/full", 43 "tor-llcrypto/full", 44 "tor-units/full", 45 "tor-memquota/full", 46 ] 47 __is_experimental = [] 48 49 [dependencies] 50 amplify = { version = "4", default-features = false, features = ["derive"] } 51 bitflags = "2" 52 bytes = "1" 53 caret = { path = "../caret", version = "0.5.0" } 54 derive-deftly = "0.14.2" 55 derive_more = { version = "1.0.0", features = ["full"] } 56 educe = "0.4.6" 57 paste = "1" 58 rand = "0.8" 59 smallvec = "1.10" 60 thiserror = "2" 61 tor-basic-utils = { path = "../tor-basic-utils", version = "0.26.0" } 62 tor-bytes = { path = "../tor-bytes", version = "0.26.0" } 63 tor-cert = { path = "../tor-cert", version = "0.26.0" } 64 tor-error = { path = "../tor-error", version = "0.26.0" } 65 tor-hscrypto = { path = "../tor-hscrypto", version = "0.26.0", optional = true, features = ["memquota-memcost"] } 66 tor-linkspec = { path = "../tor-linkspec", version = "0.26.0" } 67 tor-llcrypto = { path = "../tor-llcrypto", version = "0.26.0", features = ["memquota-memcost"] } 68 tor-memquota = { version = "0.26.0", path = "../tor-memquota", default-features = false } 69 tor-units = { path = "../tor-units", version = "0.26.0", features = ["memquota-memcost"] } 70 void = "1" 71 72 [dev-dependencies] 73 hex = "0.4" 74 hex-literal = "0.4" 75 [package.metadata.docs.rs] 76 all-features = true