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