# 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-persist" version = "0.24.0" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Persistent state for the Arti Tor implementation" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" readme = "README.md" keywords = [ "tor", "arti", ] categories = ["config"] 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_persist" path = "src/lib.rs" [dependencies.amplify] version = "4" features = ["derive"] optional = true default-features = false [dependencies.derive-deftly] version = "0.14" [dependencies.derive_more] version = "1.0.0" features = ["full"] [dependencies.filetime] version = "0.2" default-features = false [dependencies.fs-mistrust] version = "0.8.0" features = ["walkdir"] [dependencies.fslock-guard] version = "0.2.0" optional = true [dependencies.futures] version = "0.3.14" [dependencies.itertools] version = "0.13.0" [dependencies.oneshot-fused-workaround] version = "0.2.0" [dependencies.paste] version = "1" [dependencies.sanitize-filename] version = "0.5.0" [dependencies.serde] version = "1.0.103" features = ["derive"] [dependencies.serde_json] version = "1.0.50" [dependencies.thiserror] version = "1" [dependencies.tor-async-utils] version = "0.24.0" [dependencies.tor-basic-utils] version = "0.24.0" [dependencies.tor-error] version = "0.24.0" features = ["tracing"] [dependencies.tracing] version = "0.1.36" [dependencies.void] version = "1" [dev-dependencies.anyhow] version = "1.0.23" [dev-dependencies.derive-deftly] version = "0.14" [dev-dependencies.itertools] version = "0.13.0" [dev-dependencies.tempfile] version = "3" [dev-dependencies.test-temp-dir] version = "0.3.0" [dev-dependencies.tracing-test] version = "0.2.4" [features] __is_experimental = [] experimental = [ "state-dir", "testing", ] full = [ "fs-mistrust/full", "tor-error/full", "fslock-guard?/full", "tor-basic-utils/full", "tor-async-utils/full", "oneshot-fused-workaround/full", ] state-dir = [ "__is_experimental", "amplify", "fslock-guard", ] testing = ["__is_experimental"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.fslock] version = "0.2.0"