fabaccess-bffh/api/src/lib.rs

56 lines
1.2 KiB
Rust
Raw Normal View History

2021-10-28 00:32:25 +02:00
2021-11-26 02:25:48 +01:00
//! FabAccess generated API bindings
//!
//! This crate contains slightly nicer and better documented bindings for the FabAccess API.
2021-10-28 00:32:25 +02:00
2021-11-26 02:25:48 +01:00
mod schema;
/// Authentication subsystem
pub mod auth {
/// Session authentication
///
/// Authentication uses a SASL exchange. To bootstrap a connection you will need to call
/// `step` until you get a successful result
pub mod authentication {
pub use crate::schema::auth_capnp::authentication::*;
}
pub mod response {
pub use crate::schema::auth_capnp::response::*;
}
2021-10-28 00:32:25 +02:00
}
2021-11-26 02:25:48 +01:00
pub mod resource {
pub use crate::schema::resource_capnp::*;
2021-10-28 00:32:25 +02:00
}
2021-11-26 02:25:48 +01:00
pub mod resources {
pub use crate::schema::resources_capnp::*;
2021-10-28 00:32:25 +02:00
}
2021-11-26 02:25:48 +01:00
pub mod role {
pub use crate::schema::role_capnp::*;
2021-10-28 00:32:25 +02:00
}
2021-11-26 02:25:48 +01:00
pub mod user {
pub use crate::schema::user_capnp::*;
2021-10-28 00:32:25 +02:00
}
2021-11-26 02:25:48 +01:00
pub mod users {
pub use crate::schema::users_capnp::*;
2021-10-27 23:42:44 +02:00
}
2021-11-26 02:25:48 +01:00
pub mod utils {
pub mod uuid {
pub use crate::schema::utils_capnp::u_u_i_d::*;
}
/// Localization String
///
/// This is a specialized string that allows to access the string contents in different
/// languages
pub mod l10n_string {
pub use crate::schema::utils_capnp::l10_n_string::*;
}
}