mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-30 22:44:21 +01:00
23 lines
447 B
Rust
23 lines
447 B
Rust
use crate::profiles::{io::IOProfile, query::QueryProfile};
|
|
|
|
mod io;
|
|
mod query;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub struct Profile {
|
|
/// Experimental MVCC feature
|
|
pub experimental_mvcc: bool,
|
|
pub io: IOProfile,
|
|
pub query: QueryProfile,
|
|
}
|
|
|
|
impl Default for Profile {
|
|
fn default() -> Self {
|
|
Self {
|
|
experimental_mvcc: false,
|
|
io: Default::default(),
|
|
query: Default::default(),
|
|
}
|
|
}
|
|
}
|