[workspace]
members = [".", "macro"]
default-members = [".", "macro"]
[workspace.package]
version = "0.3.0"
license = "Apache-2.0 OR BSL-1.0 OR MIT"
edition = "2021"
[package]
name = "async_main"
version.workspace = true
license.workspace = true
edition.workspace = true
description = "Runtime-agnostic async main proc macro"
repository = "https://github.com/ardaku/async_main"
documentation = "https://docs.rs/async_main"
homepage = "https://github.com/ardaku/async_main/blob/stable/CHANGELOG.md"
include = ["/src/**", "/examples/**", "/README.md"]
keywords = ["async", "platform-agnostic", "cross-platform", "executor", "main"]
categories = ["asynchronous", "embedded", "no-std", "rust-patterns", "wasm"]
readme = "README.md"
[dependencies]
async_main_macro = "0.3"
async-executor = { version = "1.5", optional = true }
async-std = { version = "1.12", features = ["unstable"], optional = true }
futures = { version = "0.3", features = ["executor"], optional = true }
futures-lite = { version = "1.12", optional = true }
pasts = { version = "0.14", optional = true }
tokio = { version = "1.23", features = ["rt"], optional = true }
[features]
default = []
async-executor = ["dep:async-executor", "dep:futures-lite"]
async-std = ["dep:async-std"]
futures = ["dep:futures"]
pasts = ["dep:pasts"]
tokio = ["dep:tokio"]
web = ["async_main_macro/web"]
[package.metadata.docs.rs]
features = ["pasts"]