mirror of
https://github.com/isar/rusqlite.git
synced 2025-02-01 14:00:51 +08:00
Remove cache feature
This commit is contained in:
parent
0ab9421e6a
commit
ed72da92ef
@ -9,7 +9,6 @@ script:
|
||||
- cargo test --features load_extension
|
||||
- cargo test --features trace
|
||||
- cargo test --features functions
|
||||
- cargo test --features cache
|
||||
- cargo test --features chrono
|
||||
- cargo test --features serde_json
|
||||
- cargo test --features "backup blob cache chrono functions load_extension serde_json trace"
|
||||
- cargo test --features "backup blob chrono functions load_extension serde_json trace"
|
||||
|
@ -16,7 +16,6 @@ name = "rusqlite"
|
||||
load_extension = []
|
||||
backup = []
|
||||
blob = []
|
||||
cache = []
|
||||
functions = []
|
||||
trace = []
|
||||
|
||||
|
@ -16,7 +16,7 @@ build: false
|
||||
|
||||
test_script:
|
||||
- cargo test --lib --verbose
|
||||
- cargo test --lib --features "backup blob cache chrono functions load_extension serde_json trace"
|
||||
- cargo test --lib --features "backup blob chrono functions load_extension serde_json trace"
|
||||
|
||||
cache:
|
||||
- C:\Users\appveyor\.cargo
|
||||
|
@ -80,12 +80,14 @@ use raw_statement::RawStatement;
|
||||
|
||||
pub use transaction::{SqliteTransaction, Transaction, TransactionBehavior};
|
||||
pub use error::{SqliteError, Error};
|
||||
pub use cache::CachedStatement;
|
||||
|
||||
#[cfg(feature = "load_extension")]
|
||||
pub use load_extension_guard::{SqliteLoadExtensionGuard, LoadExtensionGuard};
|
||||
|
||||
pub mod types;
|
||||
mod transaction;
|
||||
mod cache;
|
||||
mod named_params;
|
||||
mod error;
|
||||
mod convenient;
|
||||
@ -93,7 +95,6 @@ mod raw_statement;
|
||||
#[cfg(feature = "load_extension")]mod load_extension_guard;
|
||||
#[cfg(feature = "trace")]pub mod trace;
|
||||
#[cfg(feature = "backup")]pub mod backup;
|
||||
#[cfg(feature = "cache")]mod cache;
|
||||
#[cfg(feature = "functions")]pub mod functions;
|
||||
#[cfg(feature = "blob")]pub mod blob;
|
||||
|
||||
|
@ -44,7 +44,6 @@ impl RawStatement {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "cache")]
|
||||
pub fn clear_bindings(&self) -> c_int {
|
||||
unsafe { ffi::sqlite3_clear_bindings(self.0) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user