1#![cfg_attr(not(debug_assertions), deny(warnings))]
5
6use reifydb_core::interface::version::{ComponentType, HasVersion, SystemVersion};
7use reifydb_type::Result;
8
9pub mod arena;
10pub mod bulk_insert;
11pub mod engine;
12pub mod environment;
13pub mod error;
14pub mod expression;
15pub mod flow;
16pub(crate) mod interceptor;
17pub mod policy;
18#[cfg(not(target_arch = "wasm32"))]
19pub mod remote;
20pub mod run_tests;
21pub mod session;
22pub mod test_harness;
23pub mod test_prelude;
24pub mod transaction;
25pub mod vm;
26
27pub struct EngineVersion;
28
29impl HasVersion for EngineVersion {
30 fn version(&self) -> SystemVersion {
31 SystemVersion {
32 name: env!("CARGO_PKG_NAME")
33 .strip_prefix("reifydb-")
34 .unwrap_or(env!("CARGO_PKG_NAME"))
35 .to_string(),
36 version: env!("CARGO_PKG_VERSION").to_string(),
37 description: "Query execution and processing engine module".to_string(),
38 r#type: ComponentType::Module,
39 }
40 }
41}