Proc macro for smol runtime.
This is the 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
.
```rust
async fn main() { println!("Hello, world!"); } ```
```rust
async fn main() { println!("Hello, world!"); } ```
Enable auto
feature and the rest is same as single thread:
smol_potat = { version = "0.3.0", features = ["auto"] }
```rust
async fn main() { println!("Hello, world!"); } ```