[package]
name = "BREP_kernel"
version = "0.25.0"
edition = "2021"
license-file = "LICENSE.md"
description = "A boundary representation (BREP) geometry kernel for building CAD applications."
repository = "https://github.com/mmiscool/next.BREP.io_RUST_BREP_KERNEL"
homepage = "https://v2.brep.io"
readme = "README.md"
keywords = ["cad", "brep", "geometry", "nurbs", "kernel"]
categories = ["mathematics", "graphics", "algorithms"]
include = [
"src/**/*.rs",
"/build.rs",
"/Cargo.toml",
"/README.md",
"/LICENSE.md",
"!src/**/tests/**",
"!**/tests.rs",
"!**/*_tests.rs",
"!**/test_support.rs",
"!**/testdata/**",
]
[lib]
name = "brep_kernel"
crate-type = ["cdylib", "rlib"]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
overflow-checks = false
[dependencies]
BREP_solvers = { version = "0.25.0", path = "../BREP_solvers" }
BREP_surface_offset = { version = "0.25.0", path = "../BREP_surface_offset" }
BREP_boolean = { version = "0.25.0", path = "../BREP_boolean" }
BREP_construction = { version = "0.25.0", path = "../BREP_construction" }
BREP_blend = { version = "0.25.0", path = "../BREP_blend" }
BREP_offset = { version = "0.25.0", path = "../BREP_offset" }
BREP_direct_edit = { version = "0.25.0", path = "../BREP_direct_edit" }
BREP_geometry = { version = "0.25.0", path = "../BREP_geometry" }
BREP_topology = { version = "0.25.0", path = "../BREP_topology" }
BREP_RANSAC = { version = "0.2.2", path = "../BREP_RANSAC" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
slotmap = "1"
rustc-hash = "2"
wasm-bindgen = "0.2"
web-time = "1"
spade = "=2.15.1"
rayon = { version = "1", optional = true }
wasm-bindgen-rayon = { version = "1", optional = true }
[target.'cfg(target_family = "wasm")'.dependencies]
talc = { version = "5.1.1", optional = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
rusty_alloc-api = { version = "=2.2.6", optional = true }
[features]
profile-wall = ["BREP_geometry/profile-wall", "BREP_topology/profile-wall", "BREP_surface_offset/profile-wall", "BREP_boolean/profile-wall", "BREP_construction/profile-wall", "BREP_blend/profile-wall", "BREP_offset/profile-wall", "BREP_direct_edit/profile-wall", "BREP_solvers/profile-wall"]
parallel = ["dep:rayon", "BREP_geometry/parallel", "BREP_topology/parallel", "BREP_surface_offset/parallel", "BREP_boolean/parallel", "BREP_construction/parallel", "BREP_blend/parallel", "BREP_offset/parallel", "BREP_direct_edit/parallel", "BREP_solvers/parallel"]
wasm-threads = ["parallel", "dep:wasm-bindgen-rayon"]
wasm-talc = ["dep:talc"]
native-rusty-alloc = ["dep:rusty_alloc-api", "BREP_geometry/native-rusty-alloc", "BREP_topology/native-rusty-alloc", "BREP_surface_offset/native-rusty-alloc", "BREP_boolean/native-rusty-alloc", "BREP_construction/native-rusty-alloc", "BREP_blend/native-rusty-alloc", "BREP_offset/native-rusty-alloc", "BREP_direct_edit/native-rusty-alloc", "BREP_solvers/native-rusty-alloc"]