summaryrefslogtreecommitdiff
path: root/crates/fs-mistrust/Cargo.toml
blob: 11d91ca2c48c9a904b21d439f40cf4d98e27afb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "fs-mistrust"
version = "0.14.1"
authors = ["The Tor Project, Inc.", "Nick Mathewson <[email protected]>"]
edition = "2024"
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.89"

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

anon_home = ["dirs"]

[dependencies]
derive_builder = { version = "0.11", package = "derive_builder_fork_arti" }
dirs = { version = "6", optional = true }
serde = { version = "1.0.103", features = ["derive"], optional = true }
thiserror = "2"
walkdir = { version = "2", optional = true }

[dev-dependencies]
assert_matches = "1.5.0"
serde_json = "1.0.50"
tempfile = "3"
toml = "1.0.3"
[package.metadata.docs.rs]
all-features = true

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

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