2021-10-27 23:20:35 +02:00
|
|
|
#![forbid(unused_imports)]
|
2021-10-28 01:10:35 +02:00
|
|
|
#![warn(missing_debug_implementations)]
|
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-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;
|
|
|
|
|
|
|
|
pub mod utils;
|