use rust_rocksdb::{SingleThreaded, TransactionDB}; fn main() { let _txn = { let db = TransactionDB::::open_default("foo").unwrap(); db.transaction() }; }