[package]
edition = "2024"
rust-version = "1.85"
name = "acktor"
version = "1.0.8"
authors = ["Chao Gu"]
build = false
exclude = [
"examples/*",
"tests/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust actor framework built on top of the Tokio async runtime"
readme = "README.md"
keywords = [
"actor",
"async",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://github.com/asymmetry/acktor"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustc-args = [
"--cfg",
"tokio_unstable",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bottleneck-warning = []
cron = []
default = [
"derive",
"observer",
"cron",
]
derive = ["dep:acktor-derive"]
ipc = ["type-erased-recipient-hook"]
observer = ["dep:ahash"]
tokio-tracing = ["tokio/tracing"]
type-erased-recipient-hook = []
[lib]
name = "acktor"
path = "src/lib.rs"
[dependencies.acktor-derive]
version = "1.0"
optional = true
[dependencies.ahash]
version = "0.8"
optional = true
[dependencies.futures-util]
version = "0.3"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.47"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.clap]
version = "4.5"
features = ["derive"]
[dev-dependencies.pretty_assertions]
version = "1.4"