diff --git a/CHANGELOG.md b/CHANGELOG.md index b5077da..f6c54ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### v0.11.0 +- (Routine Maintenance) Updated `rusqlite` from `0.31` to `0.32`. + - This is a *breaking change,* requiring you to upgrade your `rusqlite` to match - trying to link against two different copies of `libsqlite3` will cause a compile fail. + ### v0.10.0 - (Routine Maintenance) Updated `rusqlite` from `0.30.0` to `0.31.0`. - This is a *breaking change,* requiring you to upgrade your `rusqlite` to match - trying to link against two different copies of `libsqlite3` will cause a compile fail. diff --git a/Cargo.toml b/Cargo.toml index da58b87..30ca6e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "0.10.0" +version = "0.11.0" authors = ["Colonial"] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/exemplar/Cargo.toml b/exemplar/Cargo.toml index 1494d1d..202daa8 100644 --- a/exemplar/Cargo.toml +++ b/exemplar/Cargo.toml @@ -16,13 +16,16 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] exemplar_proc_macro = { version = "0.7.1" } -rusqlite = "0.31.0" +rusqlite = "0.32" [dev-dependencies] anyhow = "1.0.75" criterion = "0.5.1" serde = "1.0.189" -serde_rusqlite = "0.35.0" + +# Disabled; we only use this in a benchmark, and it's a massive hassle +# when it comes to keeping the rusqlite dependency up to date. +# serde_rusqlite = "0.35.0" [[bench]] name = "binding_strategies" @@ -32,9 +35,9 @@ harness = false name = "query_exemplar" harness = false -[[bench]] -name = "query_serde" -harness = false +# [[bench]] +# name = "query_serde" +# harness = false [[bench]] name = "query_manual" diff --git a/exemplar/benches/query_serde.rs b/exemplar/benches/query_serde.rs index 92f27a0..6d179a2 100644 --- a/exemplar/benches/query_serde.rs +++ b/exemplar/benches/query_serde.rs @@ -1,4 +1,4 @@ -use criterion::*; +/*use criterion::*; use serde::{Serialize, Deserialize}; use serde_rusqlite::*; @@ -63,4 +63,4 @@ fn criterion_benchmark(c: &mut Criterion) { } criterion_group!(benches, criterion_benchmark); -criterion_main!(benches); \ No newline at end of file +criterion_main!(benches);*/ \ No newline at end of file diff --git a/exemplar/src/lib.rs b/exemplar/src/lib.rs index 1afaca4..4598a04 100644 --- a/exemplar/src/lib.rs +++ b/exemplar/src/lib.rs @@ -194,9 +194,9 @@ pub trait Model { /// This method serves two purposes: /// - Enabling insertions into secondary tables (such as in-memory caches.) /// - Squeezing out a few hundred extra nanoseconds of performance on insert operations. [`insert`](Model::insert) - /// and [`insert_or`](Model::insert_or) use [`prepare_cached`](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.prepare_cached) - /// to make the API convenient, but this incurs a map lookup on every call. [`insert_with`](Model::insert_with) can therefore - /// help you squeeze out a bit more speed if your program is extremely write-heavy. + /// and [`insert_or`](Model::insert_or) use [`prepare_cached`](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.prepare_cached) + /// to make the API convenient, but this incurs a map lookup on every call. [`insert_with`](Model::insert_with) can therefore + /// help you squeeze out a bit more speed if your program is extremely write-heavy. /// /// # Usage /// Exemplar binds fields to statements as *named parameters.* Take this example model type: