[package]
edition = "2021"
rust-version = "1.85"
name = "actor-kit"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Work-stealing actor runtime with OTP-style supervision trees, crossbeam work-stealing scheduling, and bounded mailbox backpressure"
homepage = "https://github.com/WyattAu/actor-kit"
documentation = "https://docs.rs/actor-kit"
readme = "README.md"
keywords = [
"actor",
"supervision",
"work-stealing",
"erlang",
"concurrency",
]
categories = [
"concurrency",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/WyattAu/actor-kit"
[features]
default = ["std"]
full = [
"serde",
"zero-copy",
"unsafe-pool",
"sim",
]
serde = [
"dep:serde",
"dep:async-trait",
"dep:bincode",
]
sim = ["dep:rand_xoshiro"]
std = []
unsafe-pool = []
zero-copy = ["dep:rkyv"]
[lib]
name = "actor_kit"
path = "src/lib.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "sim"
path = "tests/sim.rs"
[[test]]
name = "stall_regression"
path = "tests/stall_regression.rs"
[[bench]]
name = "message_roundtrip"
path = "benches/message_roundtrip.rs"
harness = false
[[bench]]
name = "spawn_throughput"
path = "benches/spawn_throughput.rs"
harness = false
[[bench]]
name = "steal_contention"
path = "benches/steal_contention.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.bincode]
version = "1.3"
optional = true
[dependencies.crossbeam-deque]
version = "0.8"
[dependencies.crossbeam-queue]
version = "0.3"
[dependencies.crossbeam-utils]
version = "0.8"
[dependencies.dashmap]
version = "6.1"
[dependencies.futures]
version = "0.3"
[dependencies.lru]
version = "0.12"
[dependencies.parking_lot]
version = "0.12"
[dependencies.rand_xoshiro]
version = "0.8"
optional = true
[dependencies.rkyv]
version = "0.8"
features = ["bytecheck"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"time",
"macros",
]
[profile.bench]
debug = 2