amagi 0.1.2

Rust SDK, CLI, and Web API service skeleton for multi-platform social web adapters.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Typed event bus shared across SDK, CLI, and web flows.
//!
//! The TypeScript source tree exposes a global event emitter. This Rust port
//! keeps the same cross-cutting event categories, but models them as a typed
//! broadcast bus so multiple consumers can subscribe concurrently.

mod bus;
mod payloads;

pub use bus::EventBus;
pub use payloads::{
    AmagiEvent, AmagiEventType, ApiErrorEventData, ApiSuccessEventData, EventLogLevel,
    HttpRequestEventData, HttpResponseEventData, LogEventData, NetworkErrorEventData,
    NetworkRetryEventData,
};