top | item 42054531 (no title) rsanders | 1 year ago 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. discuss order hn newest lesuorac|1 year ago 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... blurbleblurble|1 year ago They're just using tokio as a dev dependency. You could use this with any async runtimehttps://github.com/fortress-build/whirlwind/blob/main/Cargo.... willothy|1 year ago Tokio is just used for async tests and the examples, the crate doesn’t depend on any specific async runtime :)
lesuorac|1 year ago 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... blurbleblurble|1 year ago They're just using tokio as a dev dependency. You could use this with any async runtimehttps://github.com/fortress-build/whirlwind/blob/main/Cargo.... willothy|1 year ago Tokio is just used for async tests and the examples, the crate doesn’t depend on any specific async runtime :)
blurbleblurble|1 year ago They're just using tokio as a dev dependency. You could use this with any async runtimehttps://github.com/fortress-build/whirlwind/blob/main/Cargo....
willothy|1 year ago Tokio is just used for async tests and the examples, the crate doesn’t depend on any specific async runtime :)
lesuorac|1 year ago
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...
blurbleblurble|1 year ago
https://github.com/fortress-build/whirlwind/blob/main/Cargo....
willothy|1 year ago