Skip to content

[WIP]remove async trait#513

Draft
ElijahAhianyo wants to merge 4 commits intomasterfrom
elijah/replace-async-trait
Draft

[WIP]remove async trait#513
ElijahAhianyo wants to merge 4 commits intomasterfrom
elijah/replace-async-trait

Conversation

@ElijahAhianyo
Copy link
Contributor

Related issue or discussion

Description

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / cleanup
  • Performance improvement
  • Other (describe above)

Checklist

  • I've read the contributing guide
  • Tests pass locally (just test-all)
  • Code passes clippy (just clippy)
  • Code is properly formatted (cargo fmt)
  • New tests added (regression test for bugs, coverage for new features)
  • Documentation (both code and site) updated (if applicable)

@github-actions github-actions bot added C-lib Crate: cot (main library crate) C-macros Crate: cot-macros labels Mar 18, 2026
@github-actions
Copy link

🐰 Bencher Report

Branchelijah/replace-async-trait
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,814.60 µs
(+14.34%)Baseline: 5,959.93 µs
7,120.59 µs
(95.70%)
json_api/json_api📈 view plot
🚷 view threshold
1,087.50 µs
(+5.48%)Baseline: 1,030.97 µs
1,187.51 µs
(91.58%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
1,029.50 µs
(+8.42%)Baseline: 949.56 µs
1,085.07 µs
(94.88%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
983.06 µs
(+7.91%)Baseline: 911.04 µs
1,045.19 µs
(94.06%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
17,693.00 µs
(+0.59%)Baseline: 17,589.14 µs
20,968.66 µs
(84.38%)
🐰 View full continuous benchmarking report in Bencher

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
rust 90.00% <100.00%> (+0.01%) ⬆️

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

Files with missing lines Coverage Δ
cot-macros/src/model.rs 96.33% <ø> (-0.04%) ⬇️
cot/src/auth/db.rs 85.28% <100.00%> (+0.19%) ⬆️
cot/src/db.rs 86.65% <100.00%> (+0.40%) ⬆️
cot/src/db/query.rs 76.01% <100.00%> (+0.26%) ⬆️
🚀 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

C-lib Crate: cot (main library crate) C-macros Crate: cot-macros

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant