mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-27 03:51:38 +08:00
Merge pull request #203 from jgallagher/silence-deprecation-warnings-on-reexport
Silence warnings about deprecations when exporting deprecated types.
This commit is contained in:
commit
0d40bae940
11
src/lib.rs
11
src/lib.rs
@ -79,9 +79,14 @@ use error::{error_from_sqlite_code, error_from_handle};
|
|||||||
use raw_statement::RawStatement;
|
use raw_statement::RawStatement;
|
||||||
use cache::StatementCache;
|
use cache::StatementCache;
|
||||||
|
|
||||||
pub use transaction::{SqliteTransaction, SqliteTransactionBehavior, DropBehavior, Savepoint,
|
#[allow(deprecated)]
|
||||||
Transaction, TransactionBehavior};
|
pub use transaction::{SqliteTransaction, SqliteTransactionBehavior};
|
||||||
pub use error::{SqliteError, Error};
|
pub use transaction::{DropBehavior, Savepoint, Transaction, TransactionBehavior};
|
||||||
|
|
||||||
|
#[allow(deprecated)]
|
||||||
|
pub use error::SqliteError;
|
||||||
|
pub use error::Error;
|
||||||
|
|
||||||
pub use cache::CachedStatement;
|
pub use cache::CachedStatement;
|
||||||
|
|
||||||
#[cfg(feature = "load_extension")]
|
#[cfg(feature = "load_extension")]
|
||||||
|
Loading…
Reference in New Issue
Block a user