[package]
edition = "2024"
name = "uu_expr"
version = "0.6.0"
authors = ["uutils developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "expr ~ (uutils) display the value of EXPRESSION"
homepage = "https://github.com/uutils/coreutils"
readme = "README.package.md"
keywords = [
"coreutils",
"uutils",
"cross-platform",
"cli",
"utility",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/uutils/coreutils/tree/main/src/uu/expr"
[lib]
name = "uu_expr"
path = "src/expr.rs"
[[bin]]
name = "expr"
path = "src/main.rs"
[dependencies.clap]
version = "4.5"
features = [
"wrap_help",
"cargo",
"color",
]
[dependencies.fluent]
version = "0.17.0"
[dependencies.num-bigint]
version = "0.4.4"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.onig]
version = "~6.5.1"
default-features = false
[dependencies.thiserror]
version = "2.0.3"
[dependencies.uucore]
version = "0.6.0"
features = ["i18n-collator"]
package = "uucore"
[lints.clippy]
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"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "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_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_self = "allow"
use_self = "warn"
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]
level = "warn"
priority = 0
check-cfg = [
"cfg(fuzzing)",
'cfg(target_os, values("cygwin"))',
]