[package]
name = "uu_wc"
description = "wc ~ (uutils) display newline, word, and byte counts for input"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/wc"
version.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
keywords.workspace = true
categories.workspace = true
edition.workspace = true
rust-version.workspace = true
readme.workspace = true

[lints]
workspace = true

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

[dependencies]
bytecount = { workspace = true, features = ["runtime-dispatch-simd"] }
clap = { workspace = true }
fluent = { workspace = true }
thiserror = { workspace = true }
uucore = { workspace = true, features = [
  "hardware",
  "parser",
  "pipes",
  "quoting-style",
] }
unicode-width = { workspace = true }

[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
nix = { workspace = true }

[dev-dependencies]
divan = { workspace = true }
tempfile = { workspace = true }
uucore = { workspace = true, features = ["benchmark"] }

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

[[bench]]
name = "wc_bench"
harness = false
