# 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 = "fs-mistrust" version = "0.8.1" authors = [ "The Tor Project, Inc.", "Nick Mathewson ", ] build = 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 [lib] name = "fs_mistrust" path = "src/lib.rs" [dependencies.derive_builder] version = "0.11" package = "derive_builder_fork_arti" [dependencies.dirs] version = "5" optional = true [dependencies.once_cell] version = "1" optional = true [dependencies.serde] version = "1.0.103" features = ["derive"] optional = true [dependencies.thiserror] version = "1" [dependencies.walkdir] version = "2" optional = true [dev-dependencies.serde_json] version = "1.0.50" [dev-dependencies.tempfile] version = "3" [dev-dependencies.toml] version = "0.8.8" [features] anon_home = [ "once_cell", "dirs", ] default = [ "walkdir", "anon_home", ] full = [ "walkdir", "anon_home", ] [target.'cfg(all(unix, not(target_os="ios"), not(target_os="android")))'.dependencies.pwd-grp] version = "1" [target."cfg(unix)".dependencies.libc] version = "0.2" [target."cfg(unix)".dependencies.once_cell] version = "1"