1 2 3 4 5 6 7 8 9 10 11 12 13 14
use std::path::PathBuf;
use serde::{Deserialize, Serialize};
/// Microkv config
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
pub struct MicrokvConfig {
/// The base path for bridger persist data
pub base_path: PathBuf,
/// THe kv database name
pub db_name: Option<String>,
/// Kv database is auto commit
pub auto_commit: bool,
}