[package]
edition = "2024"
name = "tellus"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A resilient world of actors for Rust: typed messages, supervision trees, death watch."
homepage = "https://github.com/hseeberger/tellus"
documentation = "https://docs.rs/tellus/latest/tellus/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/hseeberger/tellus"
[package.metadata.docs.rs]
all-features = true
[features]
serde = [
"dep:humantime-serde",
"dep:serde",
]
[lib]
name = "tellus"
path = "src/lib.rs"
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "device_manager"
path = "examples/device_manager.rs"
[[example]]
name = "hello"
path = "examples/hello.rs"
[[example]]
name = "scatter_gather"
path = "examples/scatter_gather.rs"
[[example]]
name = "supervision"
path = "examples/supervision.rs"
[[example]]
name = "work_pulling"
path = "examples/work_pulling.rs"
[[test]]
name = "ask"
path = "tests/ask.rs"
[[test]]
name = "supervision"
path = "tests/supervision.rs"
[[test]]
name = "termination"
path = "tests/termination.rs"
[[test]]
name = "watch"
path = "tests/watch.rs"
[[bench]]
name = "messaging"
path = "benches/messaging.rs"
harness = false
[dependencies.derive_more]
version = "2.1"
features = [
"debug",
"display",
"into",
]
[dependencies.flume]
version = "0.12"
features = ["async"]
default-features = false
[dependencies.humantime-serde]
version = "1.1"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.24"
features = ["v7"]
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.criterion]
version = "0.8"
features = ["async_tokio"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"test-util",
"time",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"json",
]