Developer Toolsdsh-plugin
cordis-rs
Cordis is a typed runtime for long-lived, plugin-oriented Rust applications, providing one model for lifecycle, exact service placement, typed events, deterministic cleanup, scopes, and isolation. The project provides a cordis-rs application facade, cordis-core runtime, and optional cordis-timer and cordis-loader crates.
Stars
65
Forks
12
Open issues
7
Last push
Oct 28, 2026
Latest release
cordis-loader-v0.6.1
24h Growth
+0
7d Growth
+4
Installation
No reliable install command was detected. Check the project README for installation instructions.
Overview
Cordis is a typed runtime for long-lived, plugin-oriented Rust applications, providing one model for lifecycle, exact service placement, typed events, deterministic cleanup, scopes, and isolation. The project provides a cordis-rs application facade, cordis-core runtime, and optional cordis-timer and cordis-loader crates.
- Typed runtime for long-lived, plugin-oriented Rust applications with lifecycle, services, typed events, cleanup, scopes, and isolation.
- Plugins use typed Config/Input; prepare runs before lifecycle admission, and spawn is the first operation allowed to create runtime lifecycle state.
- Services resolve from exact (Service, ServiceRealm) slots; realms can be isolated or explicitly shared, and lookup does not fall back to default.
- Typed Events declare Args and Output and support Observer, Responder, Mapper, and Around listeners with explicit Scoped or Unscoped routing.
- Crates include the cordis-rs application facade, cordis-core runtime, and optional cordis-timer and cordis-loader crates.
- Requires Rust 1.88 or newer and Rust 2024 Edition; released under the MIT license.
- Standalone examples cover plugin lifecycle, declarative JSON boot, failure recovery, service/event isolation, logging, and composition.
- cordis-core avoids serde/serde_json and Tokio time driver dependencies; declarative loading and time operations live in optional leaf crates.