tower-rs / tower

async fn(Request) -> Result<Response, Error>
https://docs.rs/tower
MIT License
3.56k stars 281 forks source link

util: make `BoxService` impl `Sync` via `SyncWrapper` #702

Closed davidpdrsn closed 2 years ago

davidpdrsn commented 2 years ago

Fixes https://github.com/tower-rs/tower/issues/697

mre commented 2 years ago

Are there any blockers before this can be merged? I'm asking because this would be helpful for lychee (https://github.com/lycheeverse/lychee/pull/826).

davidpdrsn commented 2 years ago

Think I'll just merge it. Its pretty low risk.