reifydb_transaction/
lib.rs

1// Copyright (c) reifydb.com 2025
2// This file is licensed under the AGPL-3.0-or-later, see license.md file
3
4#![cfg_attr(not(debug_assertions), deny(warnings))]
5
6use reifydb_core::interface::version::{ComponentType, HasVersion, SystemVersion};
7
8pub mod cdc;
9pub mod multi;
10pub mod single;
11
12pub use reifydb_store_transaction::{ObjectId, StorageStats, StorageTracker, Tier, TierStats, TransactionStore};
13pub use reifydb_type::Result;
14
15pub struct TransactionVersion;
16
17impl HasVersion for TransactionVersion {
18	fn version(&self) -> SystemVersion {
19		SystemVersion {
20			name: "transaction".to_string(),
21			version: env!("CARGO_PKG_VERSION").to_string(),
22			description: "Transaction management and concurrency control module".to_string(),
23			r#type: ComponentType::Module,
24		}
25	}
26}