Skip to content

chore: move crates to crates directory#509

Draft
seqre wants to merge 1 commit into
masterfrom
revert-508-revert-reorg
Draft

chore: move crates to crates directory#509
seqre wants to merge 1 commit into
masterfrom
revert-508-revert-reorg

Conversation

@seqre

@seqre seqre commented Mar 15, 2026

Copy link
Copy Markdown
Member

Reverts #508

@seqre seqre self-assigned this Mar 15, 2026
@seqre seqre marked this pull request as ready for review March 15, 2026 10:27
Copilot AI review requested due to automatic review settings March 15, 2026 10:27
@seqre seqre marked this pull request as draft March 15, 2026 10:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Rust workspace configuration to relocate core crates under a crates/ directory, aligning workspace membership and path dependencies with the new layout (noted as a revert of #508).

Changes:

  • Move workspace member crate paths from root-level directories to crates/*.
  • Update workspace path dependencies (cot, cot_core, cot_codegen, cot_macros) to point to crates/*.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

🐰 Bencher Report

Branchrevert-508-revert-reorg
Testbedgithub-ubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Upper Boundary
microseconds (µs)
(Limit %)
empty_router/empty_router📈 view plot
🚷 view threshold
6,587.70 µs
(+11.07%)Baseline: 5,931.31 µs
7,045.05 µs
(93.51%)
json_api/json_api📈 view plot
🚷 view threshold
1,109.90 µs
(+8.07%)Baseline: 1,027.03 µs
1,177.60 µs
(94.25%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
1,015.90 µs
(+7.33%)Baseline: 946.49 µs
1,076.91 µs
(94.33%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
981.55 µs
(+8.09%)Baseline: 908.05 µs
1,037.10 µs
(94.64%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
17,263.00 µs
(-1.52%)Baseline: 17,530.12 µs
20,637.49 µs
(83.65%)
🐰 View full continuous benchmarking report in Bencher

@codecov

codecov Bot commented Mar 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
rust 90.00% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
crates/cot-cli/src/handlers.rs 95.93% <ø> (ø)
crates/cot-cli/src/main.rs 100.00% <ø> (ø)
crates/cot-cli/src/migration_generator.rs 89.09% <ø> (ø)
crates/cot-cli/src/new_project.rs 97.33% <ø> (ø)
crates/cot-cli/src/test_utils.rs 91.30% <ø> (ø)
crates/cot-cli/src/utils.rs 93.47% <ø> (ø)
crates/cot-codegen/src/expr.rs 85.61% <ø> (ø)
crates/cot-codegen/src/model.rs 94.52% <ø> (ø)
crates/cot-codegen/src/symbol_resolver.rs 98.53% <ø> (ø)
crates/cot-core/src/body.rs 84.89% <ø> (ø)
... and 85 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants