Cargo.toml
1 [package] 2 name = "tor-basic-utils" 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 = "General helpers used by Tor" 10 keywords = ["tor", "arti"] 11 # We must put *something* here and this will do 12 categories = ["rust-patterns"] 13 repository = "https://gitlab.torproject.org/tpo/core/arti.git/" 14 15 [dependencies] 16 derive_more = { version = "1.0.0", features = ["full"] } 17 hex = "0.4" 18 itertools = "0.14.0" 19 paste = "1" 20 rand = "0.8" 21 rand_chacha = "0.3" 22 serde = { version = "1.0.103", optional = true, features = ["derive"] } 23 slab = "0.4.4" 24 smallvec = "1.10" 25 thiserror = "2" 26 27 [target.'cfg(unix)'.dependencies] 28 libc = { version = "0.2", default-features = false } 29 30 [dev-dependencies] 31 derive_more = { version = "1.0.0", features = ["full"] } 32 educe = "0.4.6" 33 serde = { version = "1.0.103", features = ["derive"] } 34 serde-value = "0.7.0" 35 serde_json = "1.0.50" 36 37 [features] 38 full = ["serde"] 39 40 [package.metadata.docs.rs] 41 all-features = true