[package]
edition = "2024"
rust-version = "1.88"
name = "brepkit-math"
version = "3.2.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vector math, transforms, NURBS, and geometric predicates for brepkit"
homepage = "https://github.com/andymai/brepkit"
readme = "README.md"
keywords = [
"cad",
"brep",
"geometry",
"solid-modeling",
"nurbs",
]
categories = [
"graphics",
"mathematics",
"science",
]
license = "AGPL-3.0-only"
repository = "https://github.com/andymai/brepkit"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
serde = ["dep:serde"]
simd = []
[lib]
name = "brepkit_math"
path = "src/lib.rs"
[[example]]
name = "cdt_profile"
path = "examples/cdt_profile.rs"
[[test]]
name = "ssi_robustness"
path = "tests/ssi_robustness.rs"
[dependencies.log]
version = "0.4"
[dependencies.robust]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
bool_to_int_with_if = "allow"
branches_sharing_code = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "deny"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
expect_used = "warn"
if_same_then_else = "allow"
imprecise_flops = "allow"
iter_over_hash_type = "allow"
manual_let_else = "allow"
manual_slice_fill = "allow"
many_single_char_names = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
module_name_repetitions = "allow"
needless_pass_by_value = "allow"
needless_range_loop = "allow"
option_if_let_else = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_else = "allow"
similar_names = "allow"
suboptimal_flops = "allow"
suspicious_operation_groupings = "allow"
todo = "warn"
too_many_lines = "allow"
tuple_array_conversions = "allow"
uninlined_format_args = "allow"
unwrap_used = "deny"
used_underscore_binding = "allow"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"