[package]
name = "acktor"
version = "1.0.13"
description = "Pure-Rust actor framework built on top of the Tokio async runtime"
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
categories.workspace = true
readme = "../README.md"
keywords.workspace = true
exclude = ["examples/*", "tests/*"]
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "tokio_unstable"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["derive", "observer", "cron"]
derive = ["dep:acktor-derive"]
observer = ["dep:ahash"]
cron = []
identifier = ["dep:sha2-const"]
type-erased-recipient-hook = []
tokio-tracing = ["tokio/tracing"]
bottleneck-warning = []
ipc = ["identifier", "type-erased-recipient-hook"]
[dependencies]
disqualified.workspace = true
futures-util.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["macros", "rt", "sync", "time"] }
tracing.workspace = true
ahash = { workspace = true, optional = true }
sha2-const = { workspace = true, optional = true }
acktor-derive = { workspace = true, optional = true }
[dev-dependencies]
anyhow.workspace = true
clap.workspace = true
pretty_assertions.workspace = true
[[example]]
name = "ring"
required-features = ["derive"]
[[test]]
name = "test_basic"
required-features = ["derive"]
[[test]]
name = "test_observer"
required-features = ["observer"]
[[test]]
name = "test_cron"
required-features = ["cron"]
[[test]]
name = "test_cron_context"
required-features = ["cron"]
[[test]]
name = "test_identifier"
required-features = ["derive", "identifier"]