filedb-ng 0.1.0

Database that's using files to store data. See documetation for more information
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use filedb::DB;
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Default)]
struct Data {
    name: String,
    surname: String,
}
fn main() {
    // Initialize the database
    let mut db: DB<Data> = DB::new("database".to_string());
    db.populate("id".to_string(), "personal".to_string(), None);
}