fabaccess-bffh/api/src/schema.rs

73 lines
1.9 KiB
Rust
Raw Normal View History

2021-11-26 02:25:48 +01:00
pub use capnpc::schema_capnp;
2022-03-10 20:52:03 +01:00
#[cfg(feature = "generated")]
pub mod authenticationsystem_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/authenticationsystem_capnp.rs"));
}
#[cfg(not(feature = "generated"))]
pub mod authenticationsystem_capnp;
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2022-03-10 20:52:03 +01:00
pub mod connection_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/connection_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
2022-03-10 20:52:03 +01:00
pub mod connection_capnp;
2021-11-26 02:25:48 +01:00
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2022-03-10 20:52:03 +01:00
pub mod general_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/general_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
2022-03-10 20:52:03 +01:00
pub mod general_capnp;
2021-11-26 02:25:48 +01:00
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2022-03-10 20:52:03 +01:00
pub mod machine_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/machine_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
2022-03-10 20:52:03 +01:00
pub mod machine_capnp;
2021-11-26 02:25:48 +01:00
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2022-03-10 20:52:03 +01:00
pub mod machinesystem_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/machinesystem_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
2022-03-10 20:52:03 +01:00
pub mod machinesystem_capnp;
2021-11-26 02:25:48 +01:00
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2022-03-10 20:52:03 +01:00
pub mod permissionsystem_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/permissionsystem_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
2022-03-10 20:52:03 +01:00
pub mod permissionsystem_capnp;
2021-11-26 02:25:48 +01:00
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2021-11-26 02:25:48 +01:00
pub mod role_capnp {
2022-03-10 20:52:03 +01:00
include!(concat!(env!("OUT_DIR"), "/schema/role_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
pub mod role_capnp;
2021-11-26 02:25:48 +01:00
2022-03-10 20:52:03 +01:00
#[cfg(feature = "generated")]
pub mod space_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/space_capnp.rs"));
}
#[cfg(not(feature = "generated"))]
pub mod space_capnp;
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2021-11-26 02:25:48 +01:00
pub mod user_capnp {
2022-03-10 20:52:03 +01:00
include!(concat!(env!("OUT_DIR"), "/schema/user_capnp.rs"));
2021-11-26 02:25:48 +01:00
}
2021-12-01 17:12:57 +01:00
#[cfg(not(feature = "generated"))]
pub mod user_capnp;
2021-11-26 02:25:48 +01:00
2021-12-01 17:12:57 +01:00
#[cfg(feature = "generated")]
2022-03-10 20:52:03 +01:00
pub mod usersystem_capnp {
include!(concat!(env!("OUT_DIR"), "/schema/usersystem_capnp.rs"));
2021-12-01 17:12:57 +01:00
}
#[cfg(not(feature = "generated"))]
2022-03-10 20:52:03 +01:00
pub mod usersystem_capnp;