diff --git a/src/db_options.rs b/src/db_options.rs index 8f3a1b2..0e13e99 100644 --- a/src/db_options.rs +++ b/src/db_options.rs @@ -30,6 +30,8 @@ pub fn new_cache(capacity: size_t) -> *mut ffi::rocksdb_cache_t { unsafe { ffi::rocksdb_cache_create_lru(capacity) } } +unsafe impl Send for Options {} + impl Drop for Options { fn drop(&mut self) { unsafe {