1 unstable release
Uses new Rust 2024
| 0.5.0 | Dec 21, 2025 |
|---|
#6 in #rapace
Used in rapace-cell
81KB
1.5K
SLoC
rapace-introspection
Service introspection RPC service for rapace.
This crate provides a ServiceIntrospection RPC service that allows clients to query what services and methods are available at runtime.
Features
- List all registered services
- Describe a specific service by name
- Check if a method ID is supported
- Runtime service discovery
Example
use rapace_introspection::{ServiceIntrospection, ServiceIntrospectionServer};
use rapace_registry::introspection::DefaultServiceIntrospection;
// Create introspection server
let introspection = DefaultServiceIntrospection::new();
let server = ServiceIntrospectionServer::new(introspection);
// Add to your cell's dispatcher
use rapace_cell::DispatcherBuilder;
let dispatcher = DispatcherBuilder::new()
.add_service(server)
.build();
Re-exports
For convenience, this crate re-exports key types from rapace-registry:
ServiceInfo- Information about a registered serviceMethodInfo- Information about a service methodArgInfo- Information about method argumentsDefaultServiceIntrospection- Default implementation of the introspection trait
License
MIT OR Apache-2.0
Dependencies
~28–47MB
~634K SLoC