ranvier-core
Ecosystem: crates.io
Version:
0.30.0Status:
releasedDeep Dive
Replace hidden middleware with visible, traceable Guard Transition nodes and IAM boundary verification.
// Guard pipeline: 4 security Transitions in one Axon
let pipeline = Axon::new("Guarded API")
.then(CorsGuard::new(CorsConfig::default()))
.then(RateLimitGuard::new(100, 60_000))
.then(SecurityHeadersGuard::new(SecurityPolicy::new()))
.then(IpFilterGuard::allow_list(["127.0.0.1"]));
// IAM boundary: automatic JWT verification
let admin = Axon::new("admin")
.with_iam(IamPolicy::RequireRole("admin".into()), JwtVerifier)
.then(AdminDashboard);cargo check --workspacecargo run -p typed-state-treecargo run -p routing-params-democargo test -p ranvier-httpcargo test -p ranvier-http --test test_app_healthcargo test -p ranvier-http --features validationcargo run -p ranvier-http --example validation_struct_level --features validationcargo test -p ranvier-std guardcargo test -p ranvier-openapicargo check -p openapi-democargo test -p ranvier-httpcargo check -p static-spa-democargo test -p ranvier-httpcargo check -p websocket-ingress-democargo test -p ranvier-inspectorcargo test --workspace./scripts/m119_examples_smoke.ps1./scripts/m131_inspector_quickview_smoke.ps1./scripts/m131_schematic_diff_policy_smoke.ps1./scripts/m131_fullstack_embedded_smoke.ps1cargo test -p ranvier-runtime timeline_assertion_works_in_integration_testcargo run -p ecosystem-seaorm-democargo run -p ecosystem-diesel-democargo run -p ecosystem-redis-democargo run -p ecosystem-nats-democargo run -p ecosystem-meilisearch-democargo check -p session-patterncargo test -p ranvier-inspector metrics stallcargo test -p ranvier-inspector breakpoint payloadcargo check -p guard-democargo check -p auth-jwt-role-demoranvier-core0.30.0releasedranvier-macros0.30.0releasedranvier-runtime0.30.0releasedranvier-http0.30.0releasedranvier-std0.30.0releasedranvier-audit0.30.0releasedranvier-compliance0.30.0releasedranvier-inspector0.30.0releasedranvier-openapi0.30.0releasedranvier0.30.0released