1 unstable release

0.1.0 Feb 27, 2023

#23 in #cybersecurity

MIT license

11KB
222 lines

Sqlite Database for ForensicRS

Sqlite implementation of SqlDb trait of ForensicRS

let mut fs = forensic_rs::core::fs::StdVirtualFS::new();
let file = fs.open(&temp_path).unwrap();
let w_conn = SqliteDB::virtual_file(file).unwrap();
let mut statement = w_conn.prepare("SELECT name, age FROM users;").unwrap();
test_database_content(statement.as_mut()).expect("Should not return error");

Dependencies

~450–740KB
~16K SLoC