1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Accompanying library for [ic-event-hub-macros](https://crates.io/crates/ic-event-hub-macros).

pub mod macros;

/// Client struct used to interact with canisters which implement `event-emitter` with type-safety
pub mod api;

/// Event-hub struct that handles listeners indexing and topic matching
pub mod event_hub;

/// Various structs and traits
pub mod types;

/// Lower level function to be used inside macros
pub mod fns;

/// Marker that enables event name serialization
pub const EVENT_NAME_FIELD: &str = "__event_name";