Conflicts, both sides kept:
- Cargo.lock, crates/engine/Cargo.toml: smlib's solidcraft-profile/solidcraft-step beside
main's solidcraft-testkit and the image comment.
- crates/doc/src/{eval,eval_more,name_lookup,project}.rs: smlib's "a stored name finds its
face or edge or asks to reselect" logic kept; main's long-name quoting (#8673) applied to
its messages. Main's split-name hole re-lookup (#10699) dropped: names here never report
split.
- crates/doc/src/lib.rs: both exports, with main's revolve_extent_for_handle.
- crates/engine/src/cmd/silhouette.rs: main's outline()/Silhouette split, on the fallible
world_state().
- crates/engine/src/cmd/sketch_project_tests.rs: both tests.
- crates/ui-egui/src/{canvas,hole_refs}.rs: main's anchor_item/model_text on
open_meshing::session_world.
- crates/ui-egui/src/preview.rs: main's cut_tint switch around smlib's kept-surface ghost
filter; both helpers and both tests.
Seam fixes: FeatureKind::Repair in main's kind_key/type_name_to_kind_key (#10748); main's
new world_state() callers in ui-egui use session_world or unwrap in tests; a sketch test's
Spline gets nurbs: None.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SdcgEu4Lr3moCCisdZShKz
68 lines
2.4 KiB
TOML
68 lines
2.4 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]
|
|
default = []
|
|
# Optional authored texture/HDR bytes; the command registry and metadata remain available.
|
|
bundled-render-library = []
|
|
raytrace-cpu = ["solidcraft-render/raytrace-cpu"]
|
|
# 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"]
|
|
# Compile the profiler in (solidcraft-profile/enabled): every app turns it on by default, so any
|
|
# build can be profiled; it records only once switched on (SOLIDCRAFT_PROFILE=1, the CLI's
|
|
# --profile, the app's preference, diagnostics.profile).
|
|
profile = ["solidcraft-profile/enabled"]
|
|
|
|
[[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 }
|
|
solidcraft-profile = { workspace = true }
|
|
# reference pictures for inspect.compare_picture (PNG and JPEG decode, PNG encode)
|
|
image = { workspace = true, features = ["jpeg"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
toml_edit = "0.25"
|
|
schemars = { workspace = true }
|
|
serde_path_to_error = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
web-time = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
solidcraft-profile = { workspace = true, features = ["enabled"] }
|
|
# Model-cache tests also run in a source tarball build (no git commit).
|
|
solidcraft-io = { workspace = true, features = ["trust-unknown-source"] }
|
|
# Normal CI exercises profiling assertions without enabling the production feature.
|
|
solidcraft-sketch = { workspace = true, features = ["solver-profiling"] }
|
|
|
|
[[example]]
|
|
name = "render_resource_workflow"
|
|
required-features = ["raytrace-cpu"]
|