Use rusqlite::ffi instead of extern crate libsqlite3_sys

This commit is contained in:
Thom Chiovoloni 2019-01-29 14:59:41 -08:00
parent 9478c490fb
commit ef757240c1
3 changed files with 1 additions and 4 deletions

View File

@ -14,7 +14,6 @@
//! ## Example //! ## Example
//! //!
//! ```rust //! ```rust
//! extern crate libsqlite3_sys;
//! extern crate rusqlite; //! extern crate rusqlite;
//! //!
//! use rusqlite::blob::ZeroBlob; //! use rusqlite::blob::ZeroBlob;

View File

@ -9,7 +9,6 @@
//! module. //! module.
//! //!
//! ```rust //! ```rust
//! extern crate libsqlite3_sys;
//! extern crate rusqlite; //! extern crate rusqlite;
//! extern crate regex; //! extern crate regex;
//! //!

View File

@ -1,8 +1,7 @@
//! Ensure we reject connections when SQLite is in single-threaded mode, as it //! Ensure we reject connections when SQLite is in single-threaded mode, as it
//! would violate safety if multiple Rust threads tried to use connections. //! would violate safety if multiple Rust threads tried to use connections.
use libsqlite3_sys as ffi; use rusqlite::ffi;
use rusqlite::Connection; use rusqlite::Connection;
#[test] #[test]