Registry / async / smol-potat

smol-potat

JSON →
library1.1.2rscratesunverified

Proc macro for smol runtime.

# Cargo.toml [dependencies] smol-potat = "1.1.2"
INSTALL
IMPORT
SIG · SMOL-POTAT
S
smol-potat
asyncrustv1.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

main
use smol_potat::main;

Annotates an async main function to run with the smol runtime.

use smol_potat::main; #[main] async fn main() { println!("Hello from smol!"); }
Debug
Known issues
gotchaRequires the smol runtime to be available as a dependency.
fix
Add smol to your Cargo.toml dependencies.
affects: >=1.0.0
Upgrade
Version history
1.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
OpenAI (training)
1
Resources
smol-potat — cargo add smol-potat · libregistry