BoundaryML
baml
BlogDocsChangelog

feat(tools): add cargo-stow for Cargo.toml validation and enforcement

#2961Merged
Comparing
hellovai/stow
(
54934d7
) with
canary
(
221c79e
)
CodSpeed Performance Gauge
+1%
Untouched
15
Skipped
35

Benchmarks

Skipped (35)

Passed

bench_empty_project
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
+5%
33.6 µs32 µs
bench_incremental_add_string_char
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
+3%
51.9 µs50.6 µs
bench_incremental_add_attribute
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
+2%
51.8 µs50.8 µs
bench_single_simple_file
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
+2%
60 µs59 µs
bench_lexer_only_simple
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
+2%
34.4 µs33.8 µs
bench_incremental_close_string
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
+1%
70.3 µs69.6 µs
bench_incremental_no_change
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
+1%
19.9 µs19.7 µs
bench_incremental_add_user_field
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
+1%
157 µs155.6 µs
bench_incremental_add_new_file
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
+1%
58.3 µs57.9 µs
bench_incremental_modify_function
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
+1%
56.3 µs55.9 µs
bench_parse_only_simple
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
0%
57.7 µs57.7 µs
bench_incremental_rename_type
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
-1%
221.7 µs223.2 µs
bench_scale_100_functions
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
-1%
741.1 µs747.5 µs
bench_scale_deep_nesting
/home/runner/work/baml/baml/baml_language/target/release/build/baml_tests-f46e39c20c9ddb46/out/generated_benchmarks.rs
CodSpeed Performance Gauge
-1%
421.3 µs426.1 µs
bench_incremental_add_field
crates/baml_tests/benches/compiler_benchmark.rs
CodSpeed Performance Gauge
-2%
49.9 µs50.8 µs

Commits

Click on a commit to change the comparison range
Base
canary
221c79e
+10.78%
feat(tools): add cargo-stow for Cargo.toml validation and enforcement Introduces `cargo stow`, a workspace linting tool that validates and fixes Cargo.toml files to enforce project conventions: - Flat crate structure (no nested crates) - Crate naming conventions (baml_* with approved prefixes) - Test crate pairing requirements - Workspace dependency format enforcement - Dependency restriction rules (e.g., anyhow only in CLI crates) - Dependency sorting (internal deps first, then external) Configuration via stow.toml or [workspace.metadata.stow] in Cargo.toml allows changing rules without recompilation. Integrated into: - CI workflow (cargo-stow job) - Pre-commit hooks (via setup-hooks.sh)
ab653e7
3 days ago
by hellovai
-10.41%
wasm test doesn't need tools
c3c9741
3 days ago
by hellovai
+0.46%
Fix: Exclude baml_tools_stow from clippy checks Co-authored-by: vbv <vbv@boundaryml.com>
54934d7
3 days ago
by cursoragent
© 2026 CodSpeed Technology
Home Terms Privacy Docs