Conversation
|
| Branch | remove-chumsky |
| Testbed | github-ubuntu-latest |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| empty_router/empty_router | 📈 view plot 🚷 view threshold | 5,026.20 µs(-16.46%)Baseline: 6,016.63 µs | 7,288.03 µs (68.97%) |
| json_api/json_api | 📈 view plot 🚷 view threshold | 893.78 µs(-14.44%)Baseline: 1,044.65 µs | 1,230.17 µs (72.65%) |
| nested_routers/nested_routers | 📈 view plot 🚷 view threshold | 858.05 µs(-10.77%)Baseline: 961.59 µs | 1,124.38 µs (76.31%) |
| single_root_route/single_root_route | 📈 view plot 🚷 view threshold | 819.25 µs(-11.30%)Baseline: 923.62 µs | 1,087.26 µs (75.35%) |
| single_root_route_burst/single_root_route_burst | 📈 view plot 🚷 view threshold | 15,205.00 µs(-13.89%)Baseline: 17,657.14 µs | 21,130.26 µs (71.96%) |
There was a problem hiding this comment.
Pull request overview
Removes the workspace-level chumsky dependency and associated feature wiring, and drops the previously-added Windows linker/rustflags workaround in Cargo configs.
Changes:
- Remove
chumskyfrom workspace dependencies and fromcot’semailfeature/dependency list. - Delete Windows-specific
.cargo/config.tomlworkaround (both in repo root and the project template). - Update the project generator to no longer copy the template
.cargo/config.toml.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
cot/Cargo.toml |
Drops optional chumsky dep and removes it from the email feature. |
Cargo.toml |
Removes chumsky from [workspace.dependencies]. |
Cargo.lock |
Updates lockfile to reflect removal of chumsky from the resolved graph. |
.cargo/config.toml |
Removes Windows-specific linker/rustflags workaround. |
cot-cli/src/project_template/.cargo/config.toml |
Deletes the template’s Windows-specific cargo config workaround. |
cot-cli/src/new_project.rs |
Stops copying the template .cargo/config.toml into newly generated projects. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| const PROJECT_FILES: [(&str, &str); 10] = [ | ||
| project_file!("Cargo.toml.template"), | ||
| project_file!("Cargo.lock.template"), | ||
| project_file!("bacon.toml"), |
There was a problem hiding this comment.
new_project copies Cargo.lock.template, but the current template lock file still contains chumsky (and is pinned to cot 0.5.0). This means freshly generated projects will still carry the dependency/version pins this PR is trying to remove. Please regenerate cot-cli/src/project_template/Cargo.lock.template from the updated template project (or stop shipping a lock template if it’s not meant to be kept in sync).
This removes the chumsky dependency, which was really just a `lettre` dependency, pinned to a specific version to avoid minimal version dependency issues. Also, this removes the workaround for rust-lang/rust#141626 which should be no longer needed now.
This removes the chumsky dependency, which was really just a
lettredependency, pinned to a specific version to avoid minimal version dependency issues.Also, this removes the workaround for rust-lang/rust#141626 which should be no longer needed now.
Type of change