mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-06 20:02:16 +00:00
335278e3c7
4 commits, squashed; the originals stay reachable from tag archive/merge-main-develop. -10ea00e74jyviko: Profiler: every SMLib C API call is a span, timed by the C API itself -319c0bc9fjyviko: Profiler: kernel operations and STEP/IGES import stages are spans -9cd655259jyviko: Profiler: commands, feature evaluation, io; diagnostics.profile; CLI --profile -fafd977b0jyviko: Profiler: the Profile operations preference switches recording at run time Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
45 lines
1.5 KiB
TOML
45 lines
1.5 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", "smlib", "profile"]
|
|
bundled-render-library = ["solidcraft-engine/bundled-render-library"]
|
|
raytrace-cpu = ["solidcraft-engine/raytrace-cpu"]
|
|
# Link SMLib into the kernel (solidcraft-engine/smlib; needs scripts/fetch-smlib.sh). SMLib is the
|
|
# only kernel, so without it the command line models nothing.
|
|
smlib = ["solidcraft-engine/smlib"]
|
|
# 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 }
|