[package] name = "fs-mistrust" version = "0.8.1" authors = ["The Tor Project, Inc.", "Nick Mathewson "] edition = "2021" license = "MIT OR Apache-2.0" homepage = "https://gitlab.torproject.org/tpo/core/arti/-/wikis/home" description = "Ensure that files can only be read or written by trusted users" keywords = ["fs", "file", "permissions", "ownership", "privacy"] categories = ["filesystem"] repository = "https://gitlab.torproject.org/tpo/core/arti.git/" rust-version = "1.77" [features] default = ["walkdir", "anon_home"] full = ["walkdir", "anon_home"] anon_home = ["once_cell", "dirs"] [dependencies] derive_builder = { version = "0.11", package = "derive_builder_fork_arti" } dirs = { version = "5", optional = true } once_cell = { version = "1", optional = true } serde = { version = "1.0.103", features = ["derive"], optional = true } thiserror = "1" walkdir = { version = "2", optional = true } [target.'cfg(unix)'.dependencies] libc = "0.2" once_cell = "1" [target.'cfg(all(unix, not(target_os="ios"), not(target_os="android")))'.dependencies] pwd-grp = "1" [dev-dependencies] serde_json = "1.0.50" tempfile = "3" toml = "0.8.8" [package.metadata.docs.rs] all-features = true