# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "lifeline"
version = "0.5.0"
authors = ["Austin Jones <implAustin@gmail.com>"]
description = "Lifeline is a dependency injection library for asynchronous message-based applications."
homepage = "https://github.com/austinjones/lifeline-rs"
documentation = "https://docs.rs/lifeline/"
readme = "README.md"
keywords = ["async", "tokio", "async", "actor", "actors"]
categories = ["asynchronous", "rust-patterns", "web-programming"]
license = "MIT"
repository = "https://github.com/austinjones/lifeline-rs"

[[example]]
name = "async-std"
required-features = ["dyn-bus", "async-std-executor", "async-std-channels"]

[[example]]
name = "subscription"
required-features = ["tokio-channels", "subscription-channel"]

[[example]]
name = "shutdown"
required-features = ["barrier-channel"]
[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "0.4"
optional = true

[dependencies.async-std]
version = "1.8"
optional = true
default-features = false

[dependencies.async-trait]
version = "0.1"

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.lockfree]
version = "0.5"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.pin-project]
version = "0.4.23"

[dependencies.regex]
version = "1.3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
optional = true
default-features = false

[dependencies.tokio-stream]
version = "0.1"
optional = true
[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.simple_logger]
version = "1.9"

[dev-dependencies.tokio]
version = "1.0"
features = ["sync", "time", "macros", "rt-multi-thread"]

[features]
async-std-attributes = ["async-std/attributes"]
async-std-channels = ["async-std/unstable"]
async-std-executor = ["async-std/default"]
barrier-channel = ["arc-swap", "lockfree"]
default = ["barrier-channel", "dyn-bus", "tokio-executor", "tokio-channels"]
dyn-bus = []
subscription-channel = []
tokio-channels = ["tokio-stream", "tokio/sync"]
tokio-executor = ["tokio/rt"]
[badges.maintenance]
status = "actively-developed"
