[package]
edition = "2024"
name = "hypervox_expr"
version = "0.2.1"
authors = ["timasoft <tima.klester@yandex.ru>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance mathematical expression parser, AST optimizer (constant folding, CSE), and closure compiler with multi-dimensional invariant hoisting"
homepage = "https://github.com/timasoft/hypervox/tree/main/expr"
documentation = "https://docs.rs/hypervox_expr"
readme = "README.md"
keywords = [
"math",
"expression",
"parser",
"compiler",
"cse",
]
categories = [
"mathematics",
"parsing",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/timasoft/hypervox"
resolver = "2"
[features]
fma = []
slow-benches = []
[lib]
name = "hypervox_expr"
path = "src/lib.rs"
[[test]]
name = "expr"
path = "tests/expr.rs"
[[test]]
name = "ext_fn"
path = "tests/ext_fn.rs"
[[test]]
name = "set"
path = "tests/set.rs"
[[bench]]
name = "bench_expr"
path = "benches/bench_expr.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.evalexpr]
version = "13"
[lints.clippy]
allow_attributes = "warn"
cast_possible_truncation = "allow"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
decimal_literal_representation = "warn"
default_numeric_fallback = "warn"
exit = "warn"
field_scoped_visibility_modifiers = "warn"
float_cmp = "allow"
fn_to_numeric_cast_any = "warn"
indexing_slicing = "warn"
iter_over_hash_type = "warn"
let_underscore_untyped = "warn"
lossy_float_literal = "warn"
map_with_unused_argument_over_ranges = "warn"
mixed_read_write_in_expression = "warn"
module_name_repetitions = "warn"
multiple_crate_versions = "allow"
multiple_inherent_impl = "warn"
mutex_atomic = "warn"
mutex_integer = "warn"
needless_raw_strings = "warn"
non_zero_suggestions = "warn"
panic = "warn"
partial_pub_fields = "warn"
precedence_bits = "warn"
pub_without_shorthand = "warn"
rc_mutex = "warn"
redundant_test_prefix = "warn"
redundant_type_annotations = "warn"
ref_patterns = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
shadow_reuse = "warn"
str_to_string = "warn"
string_add = "warn"
string_lit_chars_any = "warn"
todo = "warn"
unimplemented = "warn"
unseparated_literal_suffix = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
use_debug = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1