asterisk-rs-core
Shared types, error framework, and event bus for asterisk-rs.
This is the foundation crate for the asterisk-rs workspace.
Protocol crates (asterisk-rs-ami, asterisk-rs-agi, asterisk-rs-ari) build on top of the
types and infrastructure defined here. Most users should depend on the
asterisk-rs umbrella crate directly.
Exports
- Error types --
Error,ConnectionError,AuthError,TimeoutError,ProtocolError - Event system --
EventBus<E>andEventSubscription<E>for typed pub/sub - Reconnect policy --
ReconnectPolicywith exponential backoff and jitter - Credentials --
Credentialswith redactedDebugimpl
Modules
error, event, config, auth
Install
Minimum Supported Rust Version
1.83
License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.