peak rust 😌
@fasterthanlime it's missing some Arc<Box<SyncMutex<Blabla>>>> though
@fasterthanlime OK I was going to try it but going back to C now
@fasterthanlime I regret nothing.
@davidpdrsn your hands look like this so mine can just `.layer(CompressionLayer::new())` 🙏

@fasterthanlime @davidpdrsn Beware though, `CompressionLayer` is the buggiest of the tower-http middlewares 😦

https://github.com/tower-rs/tower-http/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3AC-bug+CompressionLayer+

I have merge rights and will try to do something about it as soon as I find some time...

Issues · tower-rs/tower-http

HTTP specific Tower utilities. Contribute to tower-rs/tower-http development by creating an account on GitHub.

GitHub
@fasterthanlime I think that once we have deref patterns you could turn that into a single or march arm where inner derefs to some projectable trait object from every variant.