[go: up one dir, main page]

uucore 0.3.0

uutils ~ 'core' uutils code library (cross-platform)
Documentation
[dependencies.base64-simd]
optional = true
version = "0.8"

[dependencies.bigdecimal]
optional = true
version = "0.4"

[dependencies.blake2b_simd]
optional = true
version = "1.0.2"

[dependencies.blake3]
optional = true
version = "1.5.1"

[dependencies.bstr]
version = "1.9.1"

[dependencies.chrono]
default-features = false
features = ["std", "alloc", "clock"]
optional = true
version = "0.4.41"

[dependencies.clap]
features = ["wrap_help", "cargo", "color"]
version = "4.5"

[dependencies.crc-fast]
optional = true
version = "1.5.0"

[dependencies.crc32fast]
optional = true
version = "1.4.2"

[dependencies.data-encoding]
optional = true
version = "2.6"

[dependencies.data-encoding-macro]
optional = true
version = "0.1.15"

[dependencies.digest]
optional = true
version = "0.10.7"

[dependencies.divan]
optional = true
package = "codspeed-divan-compat"
version = "4.0.5"

[dependencies.dns-lookup]
optional = true
version = "3.0.0"

[dependencies.dunce]
optional = true
version = "1.0.4"

[dependencies.fluent]
version = "0.17.0"

[dependencies.fluent-bundle]
version = "0.16.0"

[dependencies.fluent-syntax]
version = "0.12.0"

[dependencies.glob]
optional = true
version = "0.3.1"

[dependencies.hex]
optional = true
version = "0.4.3"

[dependencies.icu_collator]
features = ["compiled_data"]
optional = true
version = "2.0.0"

[dependencies.icu_decimal]
features = ["compiled_data"]
optional = true
version = "2.0.0"

[dependencies.icu_locale]
features = ["compiled_data"]
optional = true
version = "2.0.0"

[dependencies.icu_provider]
optional = true
version = "2.0.0"

[dependencies.itertools]
optional = true
version = "0.14.0"

[dependencies.jiff]
default-features = false
features = ["std", "alloc", "tz-system", "tzdb-bundle-platform", "tzdb-zoneinfo", "tzdb-concatenated"]
optional = true
version = "0.2.10"

[dependencies.libc]
optional = true
version = "0.2.172"

[dependencies.md-5]
optional = true
version = "0.10.6"

[dependencies.memchr]
optional = true
version = "2.7.2"

[dependencies.num-traits]
optional = true
version = "0.2.19"

[dependencies.number_prefix]
version = "0.4"

[dependencies.os_display]
version = "0.1.3"

[dependencies.phf]
version = "0.13.1"

[dependencies.selinux]
optional = true
version = "=0.5.2"

[dependencies.sha1]
optional = true
version = "0.10.6"

[dependencies.sha2]
optional = true
version = "0.10.8"

[dependencies.sha3]
optional = true
version = "0.10.8"

[dependencies.sm3]
optional = true
version = "0.4.2"

[dependencies.tempfile]
optional = true
version = "3.15.0"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.time]
features = ["formatting", "local-offset", "macros"]
optional = true
version = "0.3.36"

[dependencies.unic-langid]
version = "0.9.6"

[dependencies.uucore_procs]
package = "uucore_procs"
version = "0.3.0"

[dependencies.wild]
version = "2.2.1"

[dependencies.z85]
optional = true
version = "3.0.5"

[dev-dependencies.tempfile]
version = "3.15.0"

[features]
backup-control = []
benchmark = ["divan", "tempfile"]
buf-copy = []
checksum = ["data-encoding", "quoting-style", "sum"]
colors = []
default = []
encoding = ["data-encoding", "data-encoding-macro", "z85", "base64-simd"]
entries = ["libc"]
extendedbigdecimal = ["bigdecimal", "num-traits"]
fast-inc = []
feat_systemd_logind = ["utmpx", "libc"]
format = ["bigdecimal", "extendedbigdecimal", "itertools", "parser", "num-traits", "quoting-style"]
fs = ["dunce", "libc", "winapi-util", "windows-sys"]
fsext = ["libc", "windows-sys"]
fsxattr = ["xattr"]
i18n-all = ["i18n-collator", "i18n-decimal"]
i18n-collator = ["i18n-common", "icu_collator"]
i18n-common = ["icu_locale"]
i18n-decimal = ["i18n-common", "icu_decimal", "icu_provider"]
lines = []
mode = ["libc"]
parser = ["extendedbigdecimal", "glob", "num-traits"]
perms = ["entries", "libc", "walkdir"]
pipes = []
proc-info = ["tty", "walkdir"]
process = ["libc"]
quoting-style = ["i18n-common"]
ranges = []
ringbuffer = []
safe-traversal = ["libc"]
selinux = ["dep:selinux"]
signals = []
sum = ["digest", "hex", "memchr", "md-5", "sha1", "sha2", "sha3", "blake2b_simd", "blake3", "sm3", "crc32fast", "crc-fast"]
time = ["jiff"]
tty = []
update-control = ["parser"]
uptime = ["chrono", "libc", "windows-sys", "utmpx", "utmp-classic"]
utf8 = []
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
version-cmp = []
wide = []

[lib]
name = "uucore"
path = "src/lib/lib.rs"

[lints.clippy]
borrow_as_ptr = "allow"
cargo_common_metadata = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
enum_glob_use = "allow"
flat_map_option = "allow"
float_cmp = "allow"
fn_params_excessive_bools = "allow"
format_push_string = "allow"
from_iter_instead_of_collect = "allow"
ignored_unit_patterns = "allow"
implicit_hasher = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_stack_arrays = "allow"
large_types_passed_by_value = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
redundant_closure_for_method_calls = "allow"
return_self_not_must_use = "allow"
should_panic_without_expect = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
unnecessary_semicolon = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
use_self = "warn"
used_underscore_binding = "allow"
used_underscore_items = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(fuzzing)"]
level = "warn"
priority = 0

[package]
authors = ["uutils developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["command-line-utilities"]
description = "uutils ~ 'core' uutils code library (cross-platform)"
edition = "2024"
homepage = "https://github.com/uutils/coreutils"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
license = "MIT"
name = "uucore"
readme = false
repository = "https://github.com/uutils/coreutils/tree/main/src/uucore"
version = "0.3.0"

[package.metadata.docs.rs]
all-features = true

[target.'cfg(target_os = "linux")'.dependencies.procfs]
version = "0.18"

[target.'cfg(target_os = "openbsd")'.dependencies.utmp-classic]
optional = true
version = "0.1.6"

[target.'cfg(target_os = "windows")'.dependencies.winapi-util]
optional = true
version = "0.1.8"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
default-features = false
features = ["Wdk_System_SystemInformation", "Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_RemoteDesktop", "Win32_System_SystemInformation", "Win32_System_WindowsProgramming"]
optional = true
version = "0.61.0"

[target."cfg(unix)".dependencies.nix]
default-features = false
features = ["fs", "uio", "zerocopy", "signal", "dir", "user"]
version = "0.30"

[target."cfg(unix)".dependencies.walkdir]
optional = true
version = "2.5"

[target."cfg(unix)".dependencies.xattr]
optional = true
version = "1.3.1"