{"id":76084,"library":"async-main","title":"Async Main","description":"Runtime-agnostic async main proc macro.","status":"active","version":"0.4.0","language":"rust","source_language":null,"source_url":"https://github.com/ardaku/async_main","tags":["async","macro","runtime-agnostic"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nasync_main = \"0.4.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add async_main","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"async_main","correct":"use async_main::async_main;"}],"quickstart":{"code":"use async_main::async_main;\n\n#[async_main]\nasync fn main() {\n    println!(\"Hello, async world!\");\n}","lang":"rust","description":"Define an async main function."},"warnings":[{"fix":"Add the appropriate feature flag to your Cargo.toml, e.g., async_main = { features = [\"tokio\"] }.","message":"Requires a runtime feature flag (e.g., tokio, async-std) to be enabled.","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"search_vec":"'agnost':5,14 'async':1,6,10 'macro':9,11 'main':2,7 'proc':8 'runtim':4,13 'runtime-agnost':3,12","created_at":"2026-06-17T19:24:27.120448+00:00","updated_at":"2026-06-17T19:24:27.120448+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ardaku/async_main/blob/stable/CHANGELOG.md","github":"https://github.com/ardaku/async_main","docs":"https://docs.rs/async_main/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["async","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}