[package]
edition = "2024"
rust-version = "1.88"
name = "brepkit-wasm"
version = "3.2.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly bindings for brepkit — browser-native B-Rep solid modeling"
homepage = "https://github.com/andymai/brepkit"
readme = "README.md"
keywords = [
"cad",
"brep",
"wasm",
"geometry",
"solid-modeling",
]
categories = [
"wasm",
"mathematics",
"science",
]
license = "AGPL-3.0-only"
repository = "https://github.com/andymai/brepkit"
[features]
default = ["io"]
io = ["dep:brepkit-io"]
[lib]
name = "brepkit_wasm"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.brepkit-algo]
version = "3.2.13"
[dependencies.brepkit-check]
version = "3.2.13"
[dependencies.brepkit-geometry]
version = "3.2.13"
[dependencies.brepkit-heal]
version = "3.2.13"
[dependencies.brepkit-io]
version = "3.2.13"
optional = true
[dependencies.brepkit-math]
version = "3.2.13"
[dependencies.brepkit-operations]
version = "3.2.13"
[dependencies.brepkit-topology]
version = "3.2.13"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tsify]
version = "0.5"
features = ["js"]
[dependencies.wasm-bindgen]
version = "=0.2.126"
[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"