2021-12-06 21:53:42 +01:00
|
|
|
#![forbid(unused_imports, unused_import_braces)]
|
2021-10-28 01:10:35 +02:00
|
|
|
#![warn(missing_debug_implementations)]
|
2021-12-06 21:53:42 +01:00
|
|
|
#![warn(missing_docs)]
|
|
|
|
#![warn(missing_crate_level_docs)]
|
2021-10-28 00:32:25 +02:00
|
|
|
|
2021-10-28 01:10:35 +02:00
|
|
|
//! Diflouroborane
|
|
|
|
//!
|
|
|
|
//! This is the server component of the FabAccess project.
|
|
|
|
//! The entry point of bffhd can be found in [bin/bffhd/main.rs](../bin/bffhd/main.rs)
|
|
|
|
//!
|
|
|
|
//! P.S.: If you're curious about the name; the project was initially called "Better Fablab
|
|
|
|
//! Friend and Helper" (BFFH). And the chemical formula of Diflouroborane is BF2H.
|
2021-10-27 23:20:35 +02:00
|
|
|
|
2021-10-28 01:10:35 +02:00
|
|
|
/// Internal Databases build on top of LMDB, a mmap()'ed B-tree DB optimized for reads
|
2021-10-27 23:20:35 +02:00
|
|
|
pub mod db;
|
2021-11-26 02:25:48 +01:00
|
|
|
|
2021-10-28 01:10:35 +02:00
|
|
|
/// Shared error type
|
2021-10-27 23:20:35 +02:00
|
|
|
pub mod error;
|
2021-11-26 02:25:48 +01:00
|
|
|
|
2021-10-28 01:10:35 +02:00
|
|
|
/// Policy decision engine
|
2021-10-27 23:20:35 +02:00
|
|
|
pub mod permissions;
|
2021-11-26 02:25:48 +01:00
|
|
|
|
2021-11-26 21:01:43 +01:00
|
|
|
pub mod users;
|
|
|
|
|
2021-10-28 01:10:35 +02:00
|
|
|
/// Resources
|
2021-10-27 23:20:35 +02:00
|
|
|
pub mod resource;
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod resources;
|
|
|
|
|
2021-12-15 23:42:16 +01:00
|
|
|
pub mod actors;
|
|
|
|
|
|
|
|
pub mod initiators;
|
|
|
|
|
|
|
|
pub mod sensors;
|
|
|
|
|
2021-11-26 21:01:43 +01:00
|
|
|
pub mod server;
|
|
|
|
|
2021-11-26 02:25:48 +01:00
|
|
|
pub mod utils;
|