[package]
name = "momo-rs"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "A high-performance, atomic-free asynchronous runtime optimized for thread-local affinity."
readme = "../../README.md"
keywords = ["async", "runtime", "single-threaded", "performance", "mio"]
categories = ["asynchronous", "network-programming", "embedded"]
documentation = "https://docs.rs/momo-rs"
repository = "https://github.com/spellsaif/momo"

[lib]
name = "momo"
path = "src/lib.rs"

[dev-dependencies]
tracing-subscriber = "0.3"

[dependencies]
momo-rs-core = { workspace = true }
momo-rs-driver = { workspace = true, optional = true }
momo-rs-time = { workspace = true, optional = true }
momo-rs-sync = { workspace = true, optional = true }
momo-rs-net = { workspace = true, optional = true }
momo-rs-macros = { workspace = true, optional = true }
tracing = { version = "0.1", default-features = false }

[features]
default = ["std", "macros", "time", "net", "sync", "driver"]
std = ["momo-rs-core/std"]
driver = ["dep:momo-rs-driver"]
macros = ["dep:momo-rs-macros"]
time = ["dep:momo-rs-time"]
net = ["dep:momo-rs-net"]
sync = ["dep:momo-rs-sync"]
