[package] name = "tor-config" version = "0.24.0" authors = ["The Tor Project, Inc.", "Nick Mathewson "] edition = "2021" rust-version = "1.77" license = "MIT OR Apache-2.0" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Low-level configuration for the Arti Tor implementation" keywords = ["tor", "arti"] categories = ["config"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" [features] default = ["expand-paths"] full = ["expand-paths", "fs-mistrust/full", "tor-basic-utils/full", "tor-error/full", "tor-rtcompat/full", "tor-config-path/full"] experimental = ["testing", "experimental-api"] # Enable experimental APIs that are not yet officially supported. # # These APIs are not covered by semantic versioning. Using this # feature voids your "semver warrantee". experimental-api = ["__is_experimental"] expand-paths = ["shellexpand", "directories"] # Enable testing-only APIs. APIs under this feature are not # covered by semver. testing = ["__is_experimental"] __is_experimental = [] [dependencies] amplify = { version = "4", default-features = false, features = ["derive"] } cfg-if = "1.0.0" derive-deftly = "0.14" derive_builder = { version = "0.11.2", package = "derive_builder_fork_arti" } directories = { version = "5", optional = true } educe = "0.4.6" either = "1" figment = { version = "0.10.18", features = ["toml"] } fs-mistrust = { path = "../fs-mistrust", version = "0.8.0" } futures = "0.3.14" itertools = "0.13.0" notify = { version = "7", default-features = false, features = ["macos_kqueue"] } once_cell = "1" paste = "1" postage = { version = "0.5.0", default-features = false, features = ["futures-traits"] } regex = { version = "1", default-features = false, features = ["std"] } serde = { version = "1.0.103", features = ["derive"] } serde-value = "0.7.0" serde_ignored = "0.1.3" shellexpand = { version = "3.0", optional = true, features = ["path"] } strum = { version = "0.26.3", features = ["derive"] } thiserror = "1" toml = "0.8.8" tor-basic-utils = { path = "../tor-basic-utils", version = "0.24.0" } tor-config-path = { path = "../tor-config-path", version = "0.24.0" } tor-error = { path = "../tor-error", version = "0.24.0" } tor-rtcompat = { path = "../tor-rtcompat", version = "0.24.0" } tracing = "0.1.36" void = "1" [dev-dependencies] dirs = "5.0.0" rmp-serde = "1" serde_json = "1.0.50" tempfile = "3" test-temp-dir = { version = "0.3.0", path = "../test-temp-dir" } tor-rtcompat = { path = "../tor-rtcompat", version = "0.24.0", features = ["tokio", "native-tls"] } tor-rtmock = { path = "../tor-rtmock", version = "0.24.0" } tracing-test = "0.2.4" [package.metadata.docs.rs] all-features = true