arti/crates/fs-mistrust/Cargo.toml

42 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "fs-mistrust"
version = "0.6.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <nickm@torproject.org>"]
2022-10-31 23:06:13 +00:00
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.60"
[features]
default = ["walkdir", "anon_home"]
anon_home = ["once_cell", "dirs"]
[dependencies]
derive_builder = { version = "0.11", package = "derive_builder_fork_arti" }
dirs = { version = "4", optional = true }
educe = "0.4.6"
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]
2022-07-30 10:28:03 +01:00
users = "0.11"
[dev-dependencies]
serde_json = "1.0.50"
tempfile = "3"
toml = "0.7.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]