2022-10-09 16:50:40 +02:00
|
|
|
//! # Waku
|
|
|
|
|
//!
|
|
|
|
|
//! Implementation on top of [`waku-bindings`](https://rfc.vac.dev/spec/36/)
|
2024-11-28 10:35:41 +01:00
|
|
|
pub mod general;
|
2025-01-10 15:19:31 +01:00
|
|
|
mod macros;
|
2024-11-28 10:35:41 +01:00
|
|
|
pub mod node;
|
|
|
|
|
|
|
|
|
|
// Re-export the LibwakuResponse type to make it accessible outside this module
|
2025-01-10 15:19:31 +01:00
|
|
|
pub use general::libwaku_response::LibwakuResponse;
|
2022-09-21 16:06:27 +02:00
|
|
|
|
2024-02-13 18:03:34 -04:00
|
|
|
// Required so functions inside libwaku can call RLN functions even if we
|
|
|
|
|
// use it within the bindings functions
|
|
|
|
|
#[allow(clippy::single_component_path_imports)]
|
|
|
|
|
#[allow(unused)]
|
2024-02-13 14:50:00 -04:00
|
|
|
use rln;
|
|
|
|
|
|
2022-10-09 16:50:40 +02:00
|
|
|
pub use node::{
|
2025-01-10 15:19:31 +01:00
|
|
|
waku_create_content_topic, waku_new, Initialized, Key, Multiaddr, PublicKey, RLNConfig,
|
|
|
|
|
Running, SecretKey, WakuEvent, WakuMessageEvent, WakuNodeConfig, WakuNodeHandle,
|
2022-10-09 16:50:40 +02:00
|
|
|
};
|
|
|
|
|
|
2024-11-28 10:35:41 +01:00
|
|
|
pub use general::contenttopic::{Encoding, WakuContentTopic};
|
2025-01-10 15:19:31 +01:00
|
|
|
pub use general::{messagehash::MessageHash, Result, WakuMessage, WakuMessageVersion};
|