- solidcraft-cli and solidcraft-engine forward an `smlib` feature to solidcraft-kernel/smlib, so `cargo build -p solidcraft-cli --features smlib` gives the rig SMLib's check. - solidcraft_kernel::boolean_kernel() says which kernel this process runs booleans on. `default` until the SMLib switch (SOLIDCRAFT_BOOLEANS=smlib) lands and answers there. An smlib run on a build without the switch reports "not supported yet" instead of grading the default kernel under SMLib's name. - An area may keep its skipped list in parts (skipped-<part>.json). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
[package]
|
|
name = "solidcraft-engine"
|
|
description = "SolidCraft engine: the session, the command registry (everything is a command), undo/redo and selection"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
# Link SMLib into the kernel (solidcraft-kernel/smlib; needs scripts/fetch-smlib.sh).
|
|
smlib = ["solidcraft-kernel/smlib"]
|
|
# Turns on the parameter-contract audit recorder (`SOLIDCRAFT_PARAM_AUDIT`, see
|
|
# `src/schema/record.rs`), for checking a new contract against the whole test suite.
|
|
param-audit = []
|
|
solver-profiling = ["solidcraft-sketch/solver-profiling"]
|
|
|
|
[[example]]
|
|
name = "sketch_analysis_bench"
|
|
required-features = ["solver-profiling"]
|
|
|
|
[[example]]
|
|
name = "sketch_drag_bench"
|
|
required-features = ["solver-profiling"]
|
|
|
|
[[example]]
|
|
name = "sketch_target_bench"
|
|
required-features = ["solver-profiling"]
|
|
|
|
[dependencies]
|
|
solidcraft-geom = { workspace = true }
|
|
solidcraft-sketch = { workspace = true }
|
|
solidcraft-kernel = { workspace = true }
|
|
solidcraft-doc = { workspace = true }
|
|
solidcraft-io = { workspace = true }
|
|
solidcraft-render = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
schemars = { workspace = true }
|
|
serde_path_to_error = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
web-time = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# Normal CI exercises profiling assertions without enabling the production feature.
|
|
solidcraft-sketch = { workspace = true, features = ["solver-profiling"] }
|