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