| Crates.io | rapace-introspection |
| lib.rs | rapace-introspection |
| version | 0.5.0 |
| created_at | 2025-12-21 13:27:23.710549+00 |
| updated_at | 2025-12-21 13:27:23.710549+00 |
| description | Service introspection RPC service for rapace |
| homepage | |
| repository | https://github.com/bearcove/rapace |
| max_upload_size | |
| id | 1997961 |
| size | 35,251 |
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.
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();
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 traitMIT OR Apache-2.0