[package]
edition = "2024"
rust-version = "1.88"
name = "brepkit-geometry"
version = "3.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Geometry algorithms: sampling, extrema, conversion"
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"
[lib]
name = "brepkit_geometry"
path = "src/lib.rs"
[dependencies.brepkit-math]
version = "3.2.2"
[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"