/ crates / tor-bytes / Cargo.toml
Cargo.toml
 1  [package]
 2  name = "tor-bytes"
 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 = "Helpers for encoding and decoding byte-orientted data, as used by Tor"
10  keywords = ["tor", "arti", "encoding"]
11  categories = ["parsing", "encoding"]
12  repository = "https://gitlab.torproject.org/tpo/core/arti.git/"
13  
14  [dependencies]
15  bytes = "1"
16  derive-deftly = "0.14"
17  digest = { version = "0.10.0", features = ["subtle", "mac"] }
18  educe = "0.4.6"
19  safelog = { path = "../safelog", version = "0.4.2" }
20  thiserror = "2"
21  tor-error = { path = "../tor-error", version = "0.26.0", default-features = false }
22  tor-llcrypto = { path = "../tor-llcrypto", version = "0.26.0", optional = true }
23  zeroize = { version = "1", features = ["derive"] }
24  
25  [dev-dependencies]
26  hex-literal = "0.4"
27  
28  [target.wasm32-unknown-unknown.dependencies]
29  getrandom = { version = "0.2.3", features = ["js"] }
30  
31  [features]
32  default = ["tor-llcrypto"]
33  full = ["tor-error/full", "tor-llcrypto/full", "safelog/full", "tor-llcrypto?/full"]
34  
35  [package.metadata.docs.rs]
36  all-features = true