smol-potat
Proc macro for smol runtime.
This is the proc macro to help you initializing smol
runtime on your binary, test cases and benchmark.
Usage is similar to what you do in tokio
and async-std
:
Example
async
Proc macro for smol runtime.
This is the proc macro to help you initializing smol
runtime on your binary, test cases and benchmark.
Usage is similar to what you do in tokio
and async-std
:
#[smol_potat::main]
async fn main() {
println!("Hello, world!");
}