actor-helper 0.2.1

Helper library for building actor systems
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "actor-helper"
version = "0.2.1"
authors = ["Zacharias Boehler <rustonbsd@mailfence.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helper library for building actor systems"
homepage = "https://rustonbsd.github.io/"
readme = "README.md"
keywords = ["networking"]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/rustonbsd/actor-helper"

[features]
anyhow = ["dep:anyhow"]
async-std = [
    "dep:async-std",
    "flume/async",
]
default = [
    "tokio",
    "anyhow",
]
tokio = [
    "dep:tokio",
    "flume/async",
]

[lib]
name = "actor_helper"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = [
    "anyhow",
    "tokio",
]

[[example]]
name = "ctrl_c_regression"
path = "examples/ctrl_c_regression.rs"
required-features = ["tokio"]

[[example]]
name = "example_async_std"
path = "examples/example_async_std.rs"
required-features = ["async-std"]

[[example]]
name = "example_sync"
path = "examples/example_sync.rs"
required-features = []

[[example]]
name = "example_tokio"
path = "examples/example_tokio.rs"
required-features = ["tokio"]

[[test]]
name = "test_anyhow"
path = "tests/test_anyhow.rs"
required-features = ["anyhow"]

[[test]]
name = "test_async_std"
path = "tests/test_async_std.rs"
required-features = ["async-std"]

[[test]]
name = "test_sync"
path = "tests/test_sync.rs"
required-features = []

[[test]]
name = "test_tokio"
path = "tests/test_tokio.rs"
required-features = ["tokio"]

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.async-std]
version = "1"
features = ["attributes"]
optional = true

[dependencies.flume]
version = "0.12"
default-features = false

[dependencies.futures-executor]
version = "0.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "signal",
]
optional = true
default-features = false

[dev-dependencies.async-std]
version = "1"
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
    "test-util",
]
default-features = false