libqaul_types/lib.rs
1//! A type fascade for `libqaul`
2//!
3//! Using this crate directly is usually not neccessary, instead you
4//! should use `libqaul-sdk` to pull in the RPC adapter for the API.
5//!
6//! To learn more about how to write components for the qaul.net rpc
7//! system (qrpc), check out the `qrpc-sdk` crate documentation.
8//!
9//! All types in this crate should be `Serialize` and `Deserialize` to
10//! allow them to be re-used for higher-layer RPC protocols, such as
11//! the HTTP server used for the `emberweb` UI client.
12
13/// Re-export the core Identity from ratman
14pub use ratman_identity::Identity;
15
16pub mod contacts;
17pub mod diff;
18pub mod error;
19pub mod messages;
20pub mod services;
21pub mod users;
22
23pub mod rpc;
24
25// // TODO: rpc feature gate
26// pub(crate) mod types_capnp {
27// #![allow(unused)] // don't bother me pls
28// include!(concat!(env!("OUT_DIR"), "/schema/types_capnp.rs"));
29// }