diff --git a/src/blob.rs b/src/blob.rs index 050d84d..1cf3779 100644 --- a/src/blob.rs +++ b/src/blob.rs @@ -14,7 +14,6 @@ //! ## Example //! //! ```rust -//! extern crate libsqlite3_sys; //! extern crate rusqlite; //! //! use rusqlite::blob::ZeroBlob; diff --git a/src/functions.rs b/src/functions.rs index 95bc989..289a6f0 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -9,7 +9,6 @@ //! module. //! //! ```rust -//! extern crate libsqlite3_sys; //! extern crate rusqlite; //! extern crate regex; //! diff --git a/src/lib.rs b/src/lib.rs index be4fdaa..e3f6182 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -62,7 +62,7 @@ //! ``` #![allow(unknown_lints)] -use libsqlite3_sys as ffi; +pub use libsqlite3_sys as ffi; #[macro_use] extern crate bitflags; diff --git a/tests/deny_single_threaded_sqlite_config.rs b/tests/deny_single_threaded_sqlite_config.rs index 288f52a..f6afdd5 100644 --- a/tests/deny_single_threaded_sqlite_config.rs +++ b/tests/deny_single_threaded_sqlite_config.rs @@ -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]