[package]
edition = "2024"
rust-version = "1.88"
name = "continuo"
version = "0.12.0"
authors = ["iadev09 <iadev09@claviron.org>"]
build = false
exclude = [
"/Cargo.lock",
"/justfile",
"/rustfmt.toml",
"/.idea/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime service composition for multi-service Rust applications: typed component resolution, dependency-ordered lifecycle, reload, runnable tasks, graceful drain, and finalization."
documentation = "https://docs.rs/continuo"
readme = "README.md"
keywords = [
"dependency-injection",
"dependency",
"ioc",
"lifecycle",
"registry",
]
categories = [
"asynchronous",
"rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/iadev09/continuo"
[package.metadata.docs.rs]
all-features = true
[features]
config = ["dep:congif"]
config-watch = [
"config",
"events",
"registry",
"congif/watch",
]
default = ["registry"]
events = ["dep:dashmap"]
fleet = [
"dep:serde",
"dep:humantime-serde",
]
registry = []
support = []
[lib]
name = "continuo"
path = "src/lib.rs"
[[example]]
name = "instances"
path = "examples/instances/main.rs"
[[example]]
name = "playground"
path = "examples/playground/main.rs"
[[test]]
name = "di"
path = "tests/di.rs"
[[test]]
name = "drain"
path = "tests/drain.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "gate_wake"
path = "tests/gate_wake.rs"
[[test]]
name = "register"
path = "tests/register.rs"
[[test]]
name = "reload_configuration"
path = "tests/reload_configuration.rs"
[[test]]
name = "self_cycles"
path = "tests/self_cycles.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.congif]
version = "0.0.1"
optional = true
[dependencies.dashmap]
version = "6"
optional = true
[dependencies.humantime-serde]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.congif]
version = "0.0.1"
features = [
"json",
"toml",
"watch",
]
[dev-dependencies.dotenw]
version = "0.0.1"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.humantime-serde]
version = "1"
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"fs",
"macros",
"net",
"rt-multi-thread",
"signal",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"ansi",
"env-filter",
]
default-features = false