coreutils/src/uucore/Cargo.toml
2023-05-30 06:37:02 +00:00

81 lines
2.4 KiB
TOML

# spell-checker:ignore (features) zerocopy
[package]
name = "uucore"
version = "0.0.18"
authors = ["uutils developers"]
license = "MIT"
description = "uutils ~ 'core' uutils code library (cross-platform)"
homepage = "https://github.com/uutils/coreutils"
repository = "https://github.com/uutils/coreutils/tree/main/src/uucore"
# readme = "README.md"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"]
edition = "2021"
[lib]
path="src/lib/lib.rs"
[dependencies]
clap = { workspace=true }
uucore_procs = { workspace=true }
dns-lookup = { version="2.0.2", optional=true }
dunce = "1.0.4"
wild = "2.1"
glob = "0.3.1"
# * optional
itertools = { version="0.10.5", optional=true }
thiserror = { workspace=true, optional=true }
time = { workspace=true, optional=true, features = ["formatting", "local-offset", "macros"] }
# * "problem" dependencies (pinned)
data-encoding = { version="2.4", optional=true }
data-encoding-macro = { version="0.1.13", optional=true }
z85 = { version="3.0.5", optional=true }
libc = { version="0.2.144", optional=true }
once_cell = { workspace=true }
os_display = "0.1.3"
digest = { workspace=true }
hex = { workspace=true }
memchr = { workspace=true }
md-5 = { workspace=true }
sha1 = { workspace=true }
sha2 = { workspace=true }
sha3 = { workspace=true }
blake2b_simd = { workspace=true }
blake3 = { workspace=true }
sm3 = { workspace=true }
[target.'cfg(unix)'.dependencies]
walkdir = { workspace=true, optional=true }
nix = { workspace=true, features = ["fs", "uio", "zerocopy", "signal"] }
[dev-dependencies]
clap = { workspace=true }
once_cell = { workspace=true }
tempfile = { workspace=true }
[target.'cfg(target_os = "windows")'.dependencies]
winapi-util = { version= "0.1.5", optional=true }
windows-sys = { version = "0.45.0", optional = true, default-features = false, features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_WindowsProgramming"] }
[features]
default = []
# * non-default features
encoding = ["data-encoding", "data-encoding-macro", "z85", "thiserror"]
entries = ["libc"]
fs = ["libc", "winapi-util", "windows-sys"]
fsext = ["libc", "time", "windows-sys"]
lines = []
memo = ["itertools"]
mode = ["libc"]
perms = ["libc", "walkdir"]
process = ["libc"]
ringbuffer = []
signals = []
utf8 = []
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
wide = []
pipes = []
sum = []