1 | [package] |
2 | name = "xattr" |
3 | edition = "2021" |
4 | version = "1.5.0" |
5 | authors = ["Steven Allen <steven@stebalien.com>" ] |
6 | description = "unix extended filesystem attributes" |
7 | |
8 | documentation = "https://docs.rs/xattr" |
9 | repository = "https://github.com/Stebalien/xattr" |
10 | keywords = ["xattr" , "filesystem" , "unix" ] |
11 | license = "MIT/Apache-2.0" |
12 | |
13 | [features] |
14 | default = ["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. |
21 | unsupported = [] |
22 | |
23 | [target.'cfg(any(target_os = "android", target_os = "linux", target_os = "macos", target_os = "hurd"))'.dependencies.rustix] |
24 | version = "1.0.0" |
25 | default-features = false |
26 | features = ["fs" , "std" ] |
27 | |
28 | [target.'cfg(any(target_os = "freebsd", target_os = "netbsd"))'.dependencies] |
29 | libc = "0.2.150" |
30 | |
31 | [dev-dependencies] |
32 | tempfile = "3" |
33 | |