| 1 |
[package] |
| 2 |
name = "uu_chcon" |
| 3 |
description = "chcon ~ (uutils) change file security context" |
| 4 |
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chcon" |
| 5 |
keywords = ["coreutils", "uutils", "cli", "utility"] |
| 6 |
version.workspace = true |
| 7 |
license.workspace = true |
| 8 |
homepage.workspace = true |
| 9 |
categories.workspace = true |
| 10 |
edition.workspace = true |
| 11 |
rust-version.workspace = true |
| 12 |
readme.workspace = true |
| 13 |
|
| 14 |
[lib] |
| 15 |
path = "src/chcon.rs" |
| 16 |
test = false |
| 17 |
doctest = false |
| 18 |
|
| 19 |
# TODO: block fetching crates without feat_selinux |
| 20 |
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] |
| 21 |
clap = { workspace = true } |
| 22 |
uucore = { workspace = true, features = ["entries", "fs", "perms"] } |
| 23 |
selinux = { workspace = true } |
| 24 |
thiserror = { workspace = true } |
| 25 |
libc = { workspace = true } |
| 26 |
rustix = { workspace = true, features = ["fs"] } |
| 27 |
fluent = { workspace = true } |
| 28 |
|
| 29 |
[lints] |
| 30 |
workspace = true |
| 31 |
|
| 32 |
[[bin]] |
| 33 |
name = "chcon" |
| 34 |
path = "src/main.rs" |