[package]
name = "product-os-async-executor"
version = "0.0.16"
authors = ["Jeremy de Oliveira-Kumar <eremyj@gmail.com>"]
edition = "2021"
rust-version = "1.69"
description = "Product OS : Async Executor provides a set of tools to handle async execution generically so that the desired async library (e.g. tokio, smol) to be used can be chosen at compile time."
readme = "readme.md"
license = "AGPL-3.0-only"
keywords = ["product-os"]
categories = []
build = false
exclude = []
include = []
autobins = true
autoexamples = true
autotests = true
autobenches = true
resolver = "2"
[dependencies]
no-std-compat = { version = "0.4.1", features = ["alloc"], optional = false }
core-error = { version = "0.0.1-rc4", features = [], default-features = false, optional = false }
pin-project-lite = { version = "0.2.13", features = [], default-features = false, optional = false }
async-trait = { version = "0.1.53", features = [], default-features = false, optional = false }
futures-task = { version = "0.3.29", features = [], default-features = false, optional = false }
futures-core = { version = "0.3.29", features = [], default-features = false, optional = false }
futures-util = { version = "0.3.29", features = [], default-features = false, optional = false }
bytes = { version = "1.5.0", features = [], default-features = false, optional = false }
ioslice = { version = "0.6.0-alpha.2", features = [], default-features = false, optional = false }
tokio = { version = "1.34.0", features = [], default-features = false, optional = true }
smol = { version = "1.3.0", features = [], default-features = false, optional = true }
async-std = { version = "1.12.0", features = [], default-features = false, optional = true }
embassy-executor = { version = "0.3.3", features = [], default-features = true, optional = true }
embassy-time = { version = "0.1.5", features = [], defaut-features = true, optional = true }
embassy-macros = { version = "0.2.1", features = [],default-features = true, optional = true }
chrono = { version = "0.4.19", features = [], default-features = false, optional = false }
hyper = { version = "1.3.1", features = [], default-features = false, optional = true }
[patch.crates-io]
[features]
default = ["no-std-compat/std", "chrono/clock"]
moment = ["chrono/alloc"]
exec_tokio = ["tokio", "tokio/time", "tokio/rt"]
exec_smol = ["smol"]
exec_async_std = ["async-std", "async-std/default"]
exec_embassy = ["embassy-executor", "embassy-executor", "embassy-time", "embassy-macros"]
hyper_executor = ["hyper"]
[workspace]