[package]
edition = "2021"
rust-version = "1.85"
name = "actor-kit"
version = "0.2.7"
build = false
exclude = ["/target"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Work-stealing actor runtime: OTP supervision trees, crossbeam work-stealing, bounded 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"
[package.metadata.layers]
tier = "L2"
[features]
default = ["std"]
full = [
"serde",
"zero-copy",
"unsafe-pool",
"sim",
]
loom = []
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 = "config_matrix"
path = "tests/config_matrix.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "loom_mailbox"
path = "tests/loom_mailbox.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "sim"
path = "tests/sim.rs"
[[test]]
name = "stall_regression"
path = "tests/stall_regression.rs"
[[test]]
name = "zero_alloc_tell"
path = "tests/zero_alloc_tell.rs"
[[bench]]
name = "iai_hot_path"
path = "benches/iai_hot_path.rs"
harness = false
[[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.dashmap]
version = "6.1"
[dependencies.futures]
version = "0.3"
[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.8"
[dev-dependencies.iai-callgrind]
version = "0.16"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"sync",
"time",
"macros",
]
[target."cfg(loom)".dependencies.loom]
version = "0.7"
features = ["futures"]
[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]
[profile.bench]
debug = 2