2 ms·
> That's fine - lots of Rust libraries that work the way you're suggesting will just assume a runtime exists. Is this a new development? Last time I checked,
by olalonde 3y ago
> That's fine - lots of Rust libraries that work the way you're suggesting will just assume a runtime exists.
Is this a new development? Last time I checked, every library seemed to be tied to a specific runtime (usually tokio).
- nmlt 3y agoI don’t think that has changed.
- insanitybit 3y agoThat's what I'm saying. When a library uses "spawn" it is generally assuming a runtime, typically tokio (although in my experience a lot of libraries are generic).