bitwarden-state 3.0.0

Internal crate for the bitwarden crate. Do not use.
Documentation
use std::path::PathBuf;

#[derive(Debug)]
/// Configuration for the database used by the SDK.
pub enum DatabaseConfiguration {
    /// SQLite configuration, used on native platforms
    Sqlite {
        /// The name of the SQLite database. Different users should have different database
        /// names to avoid conflicts.
        db_name: String,
        /// The path to the folder in which the SQLite database should be stored.
        folder_path: PathBuf,
    },

    /// IndexedDB configuration, used on WebAssembly platforms
    IndexedDb {
        /// The name of the IndexedDB database. Different users should have different database
        /// names to avoid conflicts.
        db_name: String,
    },

    /// In-memory configuration — no fields needed.
    /// Data is stored in process RAM only and is not persisted.
    Memory,
}