Skip to content

refactor(client): replace SyncWrapper with sync_wrapper crate - #335

Merged
cratelyn merged 2 commits into
masterfrom
kate/sync-wrapper.rebase-0.1.21
Oct 2, 2026
Merged

cratelyn merged 2 commits into
masterfrom
kate/sync-wrapper.rebase-0.1.21

Conversation

@cratelyn

@cratelyn cratelyn commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

#118 had conflicts with the current state of master. it looked like
a reasonable change to me, so this rebases that work onto the current
state of master.

the common::sync module contains a type called SyncWrapper, which
provides an interface that permits for safely treating a T that is not
Sync, as Sync.

this exists as a public crate, sync_wrapper that we can use instead.
this crate is used by reqwest, tower, axum, tonic, and other
popular crates.

the `common::sync` module contains a type called `SyncWrapper`, which
provides an interface that permits for safely treating a `T` that is not
`Sync`, as `Sync`.

this exists as a public crate, `sync_wrapper` that we can use instead.
this crate is used by `reqwest`, `tower`, `axum`, `tonic`, and other
popular crates.

Co-authored-by: katelyn martin <git@katelyn.world>
@cratelyn
cratelyn marked this pull request as ready for review September 30, 2026 20:19
@cratelyn cratelyn self-assigned this Sep 30, 2026
@cratelyn cratelyn added C-chore Category: chore. a general chore or maintenance task. S-waiting-on-review Status: waiting on review. A-legacy-client Area: legacy client. and removed S-waiting-on-review Status: waiting on review. labels Sep 30, 2026
@cratelyn

Copy link
Copy Markdown
Member Author

noting for reviewers, because this is connected to the legacy client, i'd be happy accepting this or discarding it. opening this as a new pull request was the easiest way to resolve conflicts and get #118 into a clean state in which it could be merged.

@cratelyn
cratelyn enabled auto-merge (squash) October 2, 2026 16:15
@cratelyn
cratelyn merged commit a515398 into master Oct 2, 2026
18 checks passed
@cratelyn
cratelyn deleted the kate/sync-wrapper.rebase-0.1.21 branch October 2, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-legacy-client Area: legacy client. C-chore Category: chore. a general chore or maintenance task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants