arendjr@programming.dev to Rust@programming.devEnglish · 4 months agoAsync Rust can be a pleasure to work with (without Send + Sync + 'static)emschwartz.meexternal-linkmessage-square8fedilinkarrow-up159arrow-down10
arrow-up159arrow-down1external-linkAsync Rust can be a pleasure to work with (without Send + Sync + 'static)emschwartz.mearendjr@programming.dev to Rust@programming.devEnglish · 4 months agomessage-square8fedilink
minus-squareGiooschi@lemmy.worldlinkfedilinkEnglisharrow-up1·4 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-squaretatterdemalion@programming.devlinkfedilinkarrow-up1·4 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.