1[package]
2name = "xattr"
3edition = "2021"
4version = "1.5.0"
5authors = ["Steven Allen <steven@stebalien.com>"]
6description = "unix extended filesystem attributes"
7
8documentation = "https://docs.rs/xattr"
9repository = "https://github.com/Stebalien/xattr"
10keywords = ["xattr", "filesystem", "unix"]
11license = "MIT/Apache-2.0"
12
13[features]
14default = ["unsupported"]
15# Adds a dummy implementation for unsupported platforms. This is useful when
16# developing platform-independent code that doesn't absolutely need xattr
17# support.
18#
19# You can disable this feature if you want compilation to fail on unsupported
20# platforms. This would make sense if you absolutely need xattr support.
21unsupported = []
22
23[target.'cfg(any(target_os = "android", target_os = "linux", target_os = "macos", target_os = "hurd"))'.dependencies.rustix]
24version = "1.0.0"
25default-features = false
26features = ["fs", "std"]
27
28[target.'cfg(any(target_os = "freebsd", target_os = "netbsd"))'.dependencies]
29libc = "0.2.150"
30
31[dev-dependencies]
32tempfile = "3"
33