use speedb::{TransactionDB, SingleThreaded}; fn main() { let _snapshot = { let db = TransactionDB::::open_default("foo").unwrap(); db.snapshot() }; }