ranvier-0.25.0 has been yanked.
ranvier
Ranvier is a Typed Decision Engine for Rust. This crate is the facade entry point that re-exports the core, runtime, and HTTP ingress layers.
Install
Quick Start
use async_trait;
use *;
;
async
Notes
Ranvier::http()is an Ingress Builder, not a web server.- Core contracts stay protocol-agnostic. HTTP semantics live in the adapter layer.
Features
Default features include the HTTP ingress adapter and std nodes. To slim down dependencies:
= { = "0.21.0", = false }
You can enable features explicitly:
= { = "0.21.0", = ["http", "std"] }
Crates (10-crate architecture, v0.21.0)
| Tier | Crate | Purpose |
|---|---|---|
| T0 | ranvier-core |
Kernel: Transition, Outcome, Bus, Schematic, iam, tenant |
| T0 | ranvier-macros |
Proc macros: #[transition] attribute |
| T1 | ranvier-audit |
Audit trail persistence |
| T1 | ranvier-compliance |
Regulatory compliance checks |
| T1 | ranvier-inspector |
Schema registry + relay API |
| T1 | ranvier-std |
Standard library: Filter, Switch, Log, etc. |
| T2 | ranvier-runtime |
Async Axon execution engine |
| T3 | ranvier-http |
Hyper 1.0 native HTTP ingress adapter |
| T4 | ranvier-openapi |
OpenAPI spec generation |
| T5 | ranvier |
Facade crate (this crate) |
13 wrapper crates were removed in v0.21.0. Use external libraries directly with Transition-pattern examples.
Examples
hello-world— HTTP ingress baseline (usesranvierfacade crate)
MSRV
- Rust
1.93.0or newer (Edition 2024).