fs-mistrust 0.13.2

Ensure that files can only be read or written by trusted users
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.86"
name = "fs-mistrust"
version = "0.13.2"
authors = [
    "The Tor Project, Inc.",
    "Nick Mathewson <nickm@torproject.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ensure that files can only be read or written by trusted users"
homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home"
readme = "README.md"
keywords = [
    "fs",
    "file",
    "permissions",
    "ownership",
    "privacy",
]
categories = ["filesystem"]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.torproject.org/tpo/core/arti.git/"

[package.metadata.docs.rs]
all-features = true

[features]
anon_home = ["dirs"]
default = [
    "walkdir",
    "anon_home",
]
full = [
    "walkdir",
    "anon_home",
]

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

[dependencies.derive_builder]
version = "0.11"
package = "derive_builder_fork_arti"

[dependencies.dirs]
version = "6"
optional = true

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

[dependencies.thiserror]
version = "2"

[dependencies.walkdir]
version = "2"
optional = true

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.serde_json]
version = "1.0.50"

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

[dev-dependencies.toml]
version = "0.9.5"

[target.'cfg(all(unix, not(target_os="ios"), not(target_os="tvos"), not(target_os="android")))'.dependencies.pwd-grp]
version = "1"

[target."cfg(unix)".dependencies.libc]
version = "0.2"