@[email protected] to [email protected]English • 9 months agoAsync Rust can be a pleasure to work with (without Send + Sync + 'static)emschwartz.meexternal-linkmessage-square8fedilinkarrow-up158
arrow-up158external-linkAsync Rust can be a pleasure to work with (without Send + Sync + 'static)emschwartz.me@[email protected] to [email protected]English • 9 months agomessage-square8fedilink
minus-square@[email protected]linkfedilinkEnglish1•9 months ago Would it makes sense to provide a “share nothing” runtime implementation that can be injected at startup? Isn’t this tokio::task::spawn_local?
minus-square@[email protected]linkfedilink1•9 months agoNot exactly. I’m talking specifically about being able to call axum::serve with non-Send futures.
Isn’t this
tokio::task::spawn_local
?Not exactly. I’m talking specifically about being able to call
axum::serve
with non-Send futures.