this post was submitted on 05 Sep 2024
58 points (100.0% liked)

Rust

5980 readers
178 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 2 months ago (1 children)

Would it makes sense to provide a "share nothing" runtime implementation that can be injected at startup?

Isn't this tokio::task::spawn_local?

[โ€“] [email protected] 1 points 2 months ago

Not exactly. I'm talking specifically about being able to call axum::serve with non-Send futures.