[workspace]
members = [".", "macro"]
default-members = [".", "macro"]
[workspace.package]
version = "0.4.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.4"
[dependencies.async-executor]
version = "1.5"
optional = true
default-features = false
[dependencies.async-std]
version = "=1.12.0"
optional = true
default-features = false
features = ["unstable", "default"]
[dependencies.futures]
version = "0.3"
optional = true
default-features = false
features = ["executor"]
[dependencies.futures-lite]
version = "1.12"
optional = true
default-features = false
[dependencies.pasts]
version = "0.14"
optional = true
default-features = false
[dependencies.tokio]
version = "1.23"
optional = true
default-features = false
features = ["rt"]
[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"]