1#![cfg_attr(not(debug_assertions), deny(clippy::disallowed_methods))]
4#![cfg_attr(debug_assertions, warn(clippy::disallowed_methods))]
5#![cfg_attr(not(debug_assertions), deny(warnings))]
6#![allow(clippy::tabs_in_doc_comments)]
7
8use crate::interface::version::{ComponentType, HasVersion, SystemVersion};
9
10pub mod actors;
11pub mod common;
12pub mod delta;
13pub mod encoded;
14pub mod error;
15pub mod event;
16pub mod execution;
17pub mod fingerprint;
18pub mod interface;
19pub mod key;
20pub mod metric;
21pub mod retention;
22pub mod row;
23pub mod sort;
24pub mod testing;
25pub mod util;
26pub mod value;
27
28pub struct CoreVersion;
29
30impl HasVersion for CoreVersion {
31 fn version(&self) -> SystemVersion {
32 SystemVersion {
33 name: env!("CARGO_PKG_NAME")
34 .strip_prefix("reifydb-")
35 .unwrap_or(env!("CARGO_PKG_NAME"))
36 .to_string(),
37 version: env!("CARGO_PKG_VERSION").to_string(),
38 description: "Core database interfaces and data structures".to_string(),
39 r#type: ComponentType::Module,
40 }
41 }
42}