11 lines
192 B
Rust
11 lines
192 B
Rust
pub mod redb;
|
|
pub mod sqlite;
|
|
pub mod toml;
|
|
|
|
pub trait Store {
|
|
fn image(&self, id: &str) -> Option<Vec<u8>>;
|
|
fn save_image(&mut self, id: &str, data: &[u8]);
|
|
}
|
|
|
|
pub struct Settings {}
|