Silence warnings about deprecations when exporting deprecated types.

This commit is contained in:
John Gallagher 2017-01-06 01:23:51 -05:00
parent 6186f6d4de
commit 0b5d8339e1

View File

@ -79,9 +79,14 @@ use error::{error_from_sqlite_code, error_from_handle};
use raw_statement::RawStatement;
use cache::StatementCache;
pub use transaction::{SqliteTransaction, SqliteTransactionBehavior, DropBehavior, Savepoint,
Transaction, TransactionBehavior};
pub use error::{SqliteError, Error};
#[allow(deprecated)]
pub use transaction::{SqliteTransaction, SqliteTransactionBehavior};
pub use transaction::{DropBehavior, Savepoint, Transaction, TransactionBehavior};
#[allow(deprecated)]
pub use error::SqliteError;
pub use error::Error;
pub use cache::CachedStatement;
#[cfg(feature = "load_extension")]