viz-rs / viz

Fast, flexible, lightweight web framework for Rust
https://viz.rs
MIT License
338 stars 19 forks source link

chore(core): use sync_wrapper to wrap boxed body #116

Closed fundon closed 9 months ago

fundon commented 9 months ago

Related to https://github.com/Actyx/sync_wrapper/pull/12

fundon commented 9 months ago

See https://internals.rust-lang.org/t/what-shall-sync-mean-across-an-await/12020/22

Gets a reference to the underlying data is disallow.

fundon commented 9 months ago

https://docs.rs/crate/async-compression/0.3.1/source/src/unshared.rs