Files
makeCAD/crates/smlib/Cargo.toml
T
Brennen Herbruck 47c5f081d4 Wave 78/509: smlib tests: SSI corpus scorer and its parity with score.py
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- 3c1fbf4c9 Brennen Herbruck: smlib tests: SSI corpus scorer and its parity with score.py

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 05:25:53 -04:00

37 lines
1.1 KiB
TOML

[package]
name = "solidcraft-smlib"
description = "SolidCraft: NVIDIA's SMLib B-rep kernel (tangency-labs/smlib, Apache-2.0), statically linked behind its C API, with a safe Rust wrapper"
version.workspace = true
edition.workspace = true
license.workspace = true
publish = false
links = "smlib"
# The workspace lints, except unsafe_code: denied, not forbidden, so that src/ffi.rs can allow it.
# Calling a C library has no safe API. Keep the rest in sync with [workspace.lints].
[lints.rust]
unsafe_code = "deny"
[lints.clippy]
dbg_macro = "warn"
todo = "warn"
too_many_arguments = "allow"
type_complexity = "allow"
neg_cmp_op_on_partial_ord = "allow"
[features]
# Compile and link SMLib. Off, the crate builds without a C++ toolchain or the SMLib sources, and
# every call returns `Error::NotBuilt`, so workspace-wide builds and checks need neither.
native = []
[dependencies]
log = { workspace = true }
solidcraft-geom = { workspace = true }
[build-dependencies]
cc = { version = "1.2", features = ["parallel"] }
[dev-dependencies]
flate2 = "1.1"
serde_json = { workspace = true }