Open tthebst opened 5 months ago
@tthebst Yeah, looking at what axum
does... it seems like that ought to be fine.
If you're willing to submit a PR, that'd be great.
If you no longer can pick this work up @tthebst in the next weeks do let us know. I can take it over if you wish. Otherwise I’ll leave it with pleasure for you to do, given it was your proposal :)
If you want to use this functionality, I have added it to my crate.
Currently
BoxCloneService
does not implementSync
even though the inner Service implementsSync
. This can be solved by adding aSync
bound to the inner service bounds.Other projects such as axum also have this just internally. Might be worth adding it upstream.
I would be willing to submit a PR for this.