mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-19 12:29:34 +08:00
Use rusqlite::ffi instead of extern crate libsqlite3_sys
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
//! Ensure we reject connections when SQLite is in single-threaded mode, as it
|
||||
//! would violate safety if multiple Rust threads tried to use connections.
|
||||
|
||||
use libsqlite3_sys as ffi;
|
||||
|
||||
use rusqlite::ffi;
|
||||
use rusqlite::Connection;
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user