Skip to main content

worldinterface_contextstore/
config.rs

1//! Configuration for the ContextStore.
2
3use std::path::PathBuf;
4
5/// Configuration for the ContextStore.
6#[derive(Debug, Clone)]
7pub struct ContextStoreConfig {
8    /// Path to the SQLite database file.
9    /// If None, uses in-memory storage (testing only).
10    pub path: Option<PathBuf>,
11}
12
13impl Default for ContextStoreConfig {
14    fn default() -> Self {
15        Self { path: Some(PathBuf::from("contextstore.db")) }
16    }
17}