spin_factor_sqlite/
runtime_config.rs

1
2
3
4
5
6
7
8
9
10
11
use std::{collections::HashMap, sync::Arc};

use crate::ConnectionCreator;

/// A runtime configuration for SQLite databases.
///
/// Maps database labels to connection creators.
#[derive(Default)]
pub struct RuntimeConfig {
    pub connection_creators: HashMap<String, Arc<dyn ConnectionCreator>>,
}