Remove cache feature

This commit is contained in:
John Gallagher 2016-05-17 12:01:55 -05:00
parent 0ab9421e6a
commit ed72da92ef
5 changed files with 4 additions and 6 deletions

View File

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

View File

@ -16,7 +16,6 @@ name = "rusqlite"
load_extension = []
backup = []
blob = []
cache = []
functions = []
trace = []

View File

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

View File

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

View File

@ -44,7 +44,6 @@ impl RawStatement {
}
}
#[cfg(feature = "cache")]
pub fn clear_bindings(&self) -> c_int {
unsafe { ffi::sqlite3_clear_bindings(self.0) }
}