Skip to content

Switch to generics from dyn-traits for webapp#263

Merged
piercefreeman merged 1 commit intomainfrom
mzg/ws-2026-03-19-drop-webapp-dyn
Mar 19, 2026
Merged

Switch to generics from dyn-traits for webapp#263
piercefreeman merged 1 commit intomainfrom
mzg/ws-2026-03-19-drop-webapp-dyn

Conversation

@MOZGIII
Copy link
Copy Markdown
Collaborator

@MOZGIII MOZGIII commented Mar 19, 2026

This PR resolves the last instance of dyn-traits use in the backends.

@MOZGIII MOZGIII requested a review from piercefreeman March 19, 2026 08:30
@MOZGIII MOZGIII force-pushed the mzg/ws-2026-03-19-drop-webapp-dyn branch from 9bc12d3 to c92d152 Compare March 19, 2026 08:31
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 19, 2026

Coverage Report

Python Coverage

Metric Coverage
Lines 75.8%
Branches 57.8%

Download HTML Report

Rust Coverage

Metric Coverage
Lines 64.0%
Branches N/A

Download HTML Report

Compared to main branch

@piercefreeman piercefreeman merged commit 03f89e0 into main Mar 19, 2026
15 checks passed
@piercefreeman piercefreeman deleted the mzg/ws-2026-03-19-drop-webapp-dyn branch March 19, 2026 14:11
piercefreeman added a commit that referenced this pull request Mar 19, 2026
Goes in after #262 and #263

This PR eliminates the use of `async-trait` macro when defining the
backend traits.

The `async-trait` was useful before we had GAT stabilized in rust; now
it's just making things more annoying (cause of its opinionated bounds
on futures) and creates overhead (it boxes the futures, forcing an
allocation for each async call).
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