airone/
lib.rs

1//  ------------------------------------------------------------------
2//  Airone
3//  is a Rust library which provides a simple in-memory,
4//  write-on-update database that is persisted
5//  to an append-only transaction file.
6//
7//  Copyright © 2022,2023,2024 Massimo Gismondi
8//
9//  This file is part of Airone.
10//  Airone is free software: you can redistribute it and/or
11//  modify it under the terms of the GNU Affero General Public License
12//  as published by the Free Software Foundation, either version 3
13//  of the License, or (at your option) any later version.
14//
15//  This program is distributed in the hope that it will be useful,
16//  but WITHOUT ANY WARRANTY; without even the implied warranty of
17//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18//  GNU General Public License for more details.
19
20//  You should have received a copy of the GNU Affero General Public License
21//  along with this program. If not, see <https://www.gnu.org/licenses/>.
22//  ------------------------------------------------------------------
23
24#![doc = include_str!("../DOCS.md")]
25#![forbid(unsafe_code)]
26
27pub mod database;
28pub mod error;
29pub mod prelude;
30pub mod serde;
31
32pub use airone_derive::AironeDbDerive;
33
34#[cfg(test)]
35mod tests;