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 ffi;
16pub mod flow;
17pub(crate) mod interceptor;
18pub mod policy;
19pub mod procedure;
20#[cfg(not(target_arch = "wasm32"))]
21pub mod remote;
22#[allow(unused)]
23pub mod test;
24pub mod test_utils;
25pub(crate) mod testing;
26pub mod transaction;
27pub mod transform;
28pub mod vm;
29
30pub struct EngineVersion;
31
32impl HasVersion for EngineVersion {
33 fn version(&self) -> SystemVersion {
34 SystemVersion {
35 name: env!("CARGO_PKG_NAME")
36 .strip_prefix("reifydb-")
37 .unwrap_or(env!("CARGO_PKG_NAME"))
38 .to_string(),
39 version: env!("CARGO_PKG_VERSION").to_string(),
40 description: "Query execution and processing engine module".to_string(),
41 r#type: ComponentType::Module,
42 }
43 }
44}