Re:Show HN: Whirlwind – Async concurrent hashmap for Rust
by bryanlarsen on Tuesday November 05, 2024 @02:29PM
(#42054461)
tokio itself is not mature/stable enough to be in the standard library, IMO, let alone anything based on tokio.
[ Parent
| on HN ]
Re:Show HN: Whirlwind – Async concurrent hashmap for Rust
by rsanders on Tuesday November 05, 2024 @02:37PM
(#42054531)
I'm pretty new to Rust so forgive me if I'm mistaken, but it seems to me that this crate doesn't require the use of tokio.
Re:Show HN: Whirlwind – Async concurrent hashmap for Rust
by lesuorac on Tuesday November 05, 2024 @02:40PM
(#42054547)
When all the examples are marked with `#[tokio::main]`, it probably requires tokio.
Although I guess they do implement Future on their own so it shouldn't need a specific runtime then.
https://github.com/fortress-build/whirlwind/blob/main/src/sh...
Re:Show HN: Whirlwind – Async concurrent hashmap for Rust
by macawfish on Tuesday November 05, 2024 @02:45PM
(#42054584)
They're just using tokio as a dev dependency. You could use this with any async runtime
https://github.com/fortress-build/whirlwind/blob/main/Cargo....