- 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>
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[package]
|
|
name = "solidcraft-cli"
|
|
description = "SolidCraft headless CLI: run command scripts, measure, export, render snapshots, replay oracle recipes"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
default-run = "solidcraft-cli"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "solidcraft-cli"
|
|
path = "src/main.rs"
|
|
|
|
# Compatibility alias for the CLI's former name: forwards to solidcraft-cli with a deprecation
|
|
# note on stderr. Shipped in every package for at least one release.
|
|
[[bin]]
|
|
name = "solvecraft-cli"
|
|
path = "src/alias.rs"
|
|
|
|
[features]
|
|
default = ["raytrace-cpu"]
|
|
bundled-render-library = ["solidcraft-engine/bundled-render-library"]
|
|
raytrace-cpu = ["solidcraft-engine/raytrace-cpu"]
|
|
|
|
[features]
|
|
# Link SMLib into the kernel, for the regression rig's smlib runs (tests/kernel-cases).
|
|
smlib = ["solidcraft-engine/smlib"]
|
|
|
|
[dependencies]
|
|
solidcraft-engine = { workspace = true }
|
|
solidcraft-gpu = { workspace = true }
|
|
solidcraft-mcp = { workspace = true }
|
|
log = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
# Snapshot tests decode the pictures to compare them with a tolerance.
|
|
image = { workspace = true }
|