rapace-introspection

Crates.iorapace-introspection
lib.rsrapace-introspection
version0.5.0
created_at2025-12-21 13:27:23.710549+00
updated_at2025-12-21 13:27:23.710549+00
descriptionService introspection RPC service for rapace
homepage
repositoryhttps://github.com/bearcove/rapace
max_upload_size
id1997961
size35,251
Amos Wenger (fasterthanlime)

documentation

README

rapace-introspection

crates.io documentation MIT/Apache-2.0 licensed

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 service
  • MethodInfo - Information about a service method
  • ArgInfo - Information about method arguments
  • DefaultServiceIntrospection - Default implementation of the introspection trait

License

MIT OR Apache-2.0

Commit count: 0

cargo fmt