crates/smlib now wraps solidcore alone; the crate keeps its name (the rename is a later move). - Gone: the C++ FFI (src/ffi.rs, src/ffi/), build.rs and its `cc` build dependency, SMLIB_REV, SMLIB_PREBUILT, the `native` feature, the backend routing (src/route.rs: Backend, the choice, SOLIDCRAFT_KERNEL), init(), the C API's log and profiler lines, the flat-array handle (flat::Flat, Brep::export) and the history records' decoder. Brep is solidcore's body; Error loses NotBuilt and Version; set_dump_dir can no longer fail. blend_fit/Fit go: only the C++ kernel ever named a fit. - The `smlib` feature is gone from the kernel, the engine and the apps (cli, web, desktop); the kernel's smlib-gated tests and the board fixture example run on solidcore, the side-by-side boolean example (a comparison with the C++ kernel) is deleted. - Tests that compared with the C++ kernel are deleted (the parity and closed-form halves run on C++, cpp_round_trip, arrays_match_the_cpp_kernel, validate_refuses_what_the_cpp_kernel_refuses, the cross-kernel file test, the SSI corpus run on C++). Their solidcore-only assertions stay in the same files as checks against solidcore: the blend and boolean history changes, the offset drafts (one Unsupported, all building), the L sheet's thickened volume, the 871 rounds and the moved mitred top. The tests that were built only with the C++ kernel and already ran on solidcore (ops, sweeps, check, measure, import, export) are ungated. - tests/KNOWN_FAILING_TESTS drops the six lines of the deleted comparisons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
42 lines
1.3 KiB
TOML
42 lines
1.3 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", "profile"]
|
|
bundled-render-library = ["solidcraft-engine/bundled-render-library"]
|
|
raytrace-cpu = ["solidcraft-engine/raytrace-cpu"]
|
|
# The profiler, compiled in so any build can say where its time goes (`--profile`,
|
|
# SOLIDCRAFT_PROFILE=1); it records nothing until asked.
|
|
profile = ["solidcraft-engine/profile"]
|
|
|
|
[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 }
|
|
# Tests measure meshes at their own tolerances.
|
|
solidcraft-kernel = { workspace = true }
|