ringkernel-ecosystem
Ecosystem integrations for RingKernel.
Overview
This crate provides optional integrations with popular Rust ecosystem libraries for actors, web frameworks, data processing, and observability. All integrations are opt-in via feature flags.
Feature Flags
| Feature | Description |
|---|---|
actix |
Actix actor framework bridge |
tower |
Tower service middleware integration |
axum |
Axum web framework integration |
arrow |
Apache Arrow data processing |
polars |
Polars DataFrame operations |
grpc |
gRPC server via Tonic |
candle |
Candle ML framework bridge |
config |
Configuration file management |
tracing-integration |
Enhanced tracing support |
prometheus |
Prometheus metrics export |
full |
All integrations enabled |
Installation
[]
= { = "0.1", = ["axum", "prometheus"] }
Usage
use *;
// Features are conditionally available based on enabled features
Axum Integration
use RingKernelLayer;
let app = new
.route
.layer;
Prometheus Metrics
use PrometheusExporter;
let exporter = new;
exporter.register_runtime_metrics;
Configuration
use ConfigManager;
let config = load?;
let runtime = config.create_runtime.await?;
Testing
License
Apache-2.0