[package]
name = "uu_chcon"
description = "chcon ~ (uutils) change file security context"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/chcon"
keywords = ["coreutils", "uutils", "cli", "utility"]
version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
categories.workspace = true
edition.workspace = true
rust-version.workspace = true
readme.workspace = true

[lints]
workspace = true

[lib]
path = "src/chcon.rs"

# TODO: block fetching crates without feat_selinux
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
clap = { workspace = true }
uucore = { workspace = true, features = ["entries", "fs", "perms"] }
selinux = { workspace = true }
thiserror = { workspace = true }
libc = { workspace = true }
fts-sys = { workspace = true }
fluent = { workspace = true }

[[bin]]
name = "chcon"
path = "src/main.rs"
