Overwatch/overwatch-rs/Cargo.toml
Daniel Sanchez ac28d01158
Plug services lifecycle (Shutdown and Kill) (#27)
* Plug lifecycle channel

* Pipe lifecycle to services.

* Add explaining doc on handle clone

* Fix tests

* Add missing break on overwatch kill

* Added shutdown service test

* Clippy happy

* Use try_from instead of from for checking duplicated service ids on ServicesLifeCycleHandle

* Added docs
2023-10-09 14:00:12 +02:00

39 lines
1.3 KiB
TOML

[package]
name = "overwatch-rs"
version = "0.1.0"
edition = "2021"
authors = [
"Daniel Sanchez Quiros <danielsq@status.im>"
]
license-file = "LICENSE"
homepage = "https://github.com/logos-co/Overwatch"
repository = "https://github.com/logos-co/Overwatch"
description = "Overwatch is a framework to easily construct applications that requires of several independent parts that needs communication between them. Everything is self-contained, and it matches somewhat the advantages of microservices."
readme = "README.md"
keywords = ["async", "services"]
categories = ["Asynchronous"]
exclude = [
"./tests",
".github",
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["derive"]
derive = ["dep:overwatch-derive"]
[dependencies]
overwatch-derive = { path = "../overwatch-derive", optional = true }
const-str = "0.3"
color-eyre = "0.6"
async-trait = "0.1"
futures = "0.3"
thiserror = "1.0"
tokio = { version = "1.32", features = ["rt-multi-thread", "sync", "time"] }
tokio-stream = {version ="0.1", features = ["sync"] }
tokio-util = "0.7"
tracing = "0.1"
[dev-dependencies]
tokio = { version = "1.17", features = ["rt-multi-thread", "sync", "time", "io-std", "io-util", "macros"] }
overwatch-derive = { path = "../overwatch-derive" }