Merge pull request #469 from thomcc/pub-ffi

Make the `libsqlite3_sys as ffi` export `pub`
This commit is contained in:
gwenn 2019-01-30 18:33:31 +01:00 committed by GitHub
commit ee04d3c5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 5 deletions

View File

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

View File

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

View File

@ -62,7 +62,7 @@
//! ```
#![allow(unknown_lints)]
use libsqlite3_sys as ffi;
pub use libsqlite3_sys as ffi;
#[macro_use]
extern crate bitflags;

View File

@ -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]