kimetsu_core/lib.rs
1pub mod config;
2pub mod env_file;
3pub mod event;
4pub mod ids;
5pub mod memory;
6pub mod paths;
7pub mod secret;
8
9pub const KIMETSU_SCHEMA_VERSION: i64 = 3;
10/// The `project.toml` config-file format version. Deliberately decoupled
11/// from `KIMETSU_SCHEMA_VERSION` (the brain.db schema): the DB schema can
12/// advance via migrations without forcing every project.toml to be rewritten.
13pub const KIMETSU_CONFIG_VERSION: i64 = 1;
14pub const EVENT_SCHEMA_VERSION: u32 = 1;
15
16pub type KimetsuResult<T> = Result<T, Box<dyn std::error::Error + Send + Sync>>;