tor-persist 0.41.0

Persistent state for the Arti Tor implementation
Documentation
# 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 = "2024"
rust-version = "1.89"
name = "tor-persist"
version = "0.41.0"
authors = [
    "The Tor Project, Inc.",
    "Nick Mathewson <nickm@torproject.org>",
]
build = false
autolib = 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

[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",
    "web-time-compat/full",
]
state-dir = [
    "__is_experimental",
    "amplify",
    "fslock-guard",
]
testing = ["__is_experimental"]

[lib]
name = "tor_persist"
path = "src/lib.rs"

[dependencies.amplify]
version = "4"
features = ["derive"]
optional = true
default-features = false

[dependencies.derive-deftly]
version = "~1.6.0"
features = [
    "full",
    "beta",
]

[dependencies.derive_more]
version = "2.0.1"
features = ["full"]

[dependencies.filetime]
version = "0.2"
default-features = false

[dependencies.fs-mistrust]
version = "0.14.0"
features = ["walkdir"]

[dependencies.fslock-guard]
version = "0.6.0"
optional = true

[dependencies.futures]
version = "0.3.14"

[dependencies.itertools]
version = "0.14.0"

[dependencies.oneshot-fused-workaround]
version = "0.6.0"

[dependencies.paste]
version = "1.0.3"

[dependencies.sanitize-filename]
version = "0.6.0"

[dependencies.serde]
version = "1.0.103"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.50"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3.47"
features = [
    "std",
    "parsing",
    "macros",
    "formatting",
]

[dependencies.tor-async-utils]
version = "0.41.0"

[dependencies.tor-basic-utils]
version = "0.41.0"

[dependencies.tor-error]
version = "0.41.0"
features = ["tracing"]

[dependencies.tracing]
version = "0.1.36"

[dependencies.void]
version = "1"

[dependencies.web-time-compat]
version = "0.1.0"

[dev-dependencies.anyhow]
version = "1.0.23"

[dev-dependencies.derive-deftly]
version = "~1.6.0"
features = [
    "full",
    "beta",
]

[dev-dependencies.humantime]
version = "2"

[dev-dependencies.itertools]
version = "0.14.0"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.test-temp-dir]
version = "0.7.0"

[dev-dependencies.tracing-test]
version = "0.2.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fslock]
version = "0.2.0"