Skip to content

Commit c6e0bb7

Browse files
committed
v0.11.0
1 parent 3119469 commit c6e0bb7

File tree

5 files changed

+18
-11
lines changed

5 files changed

+18
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v0.11.0
2+
- (Routine Maintenance) Updated `rusqlite` from `0.31` to `0.32`.
3+
- 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.
4+
15
### v0.10.0
26
- (Routine Maintenance) Updated `rusqlite` from `0.30.0` to `0.31.0`.
37
- 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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
]
88

99
[workspace.package]
10-
version = "0.10.0"
10+
version = "0.11.0"
1111
authors = ["Colonial"]
1212
edition = "2021"
1313
license = "MIT OR Apache-2.0"

exemplar/Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ rustdoc-args = ["--cfg", "docsrs"]
1616

1717
[dependencies]
1818
exemplar_proc_macro = { version = "0.7.1" }
19-
rusqlite = "0.31.0"
19+
rusqlite = "0.32"
2020

2121
[dev-dependencies]
2222
anyhow = "1.0.75"
2323
criterion = "0.5.1"
2424
serde = "1.0.189"
25-
serde_rusqlite = "0.35.0"
25+
26+
# Disabled; we only use this in a benchmark, and it's a massive hassle
27+
# when it comes to keeping the rusqlite dependency up to date.
28+
# serde_rusqlite = "0.35.0"
2629

2730
[[bench]]
2831
name = "binding_strategies"
@@ -32,9 +35,9 @@ harness = false
3235
name = "query_exemplar"
3336
harness = false
3437

35-
[[bench]]
36-
name = "query_serde"
37-
harness = false
38+
# [[bench]]
39+
# name = "query_serde"
40+
# harness = false
3841

3942
[[bench]]
4043
name = "query_manual"

exemplar/benches/query_serde.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use criterion::*;
1+
/*use criterion::*;
22
33
use serde::{Serialize, Deserialize};
44
use serde_rusqlite::*;
@@ -63,4 +63,4 @@ fn criterion_benchmark(c: &mut Criterion) {
6363
}
6464
6565
criterion_group!(benches, criterion_benchmark);
66-
criterion_main!(benches);
66+
criterion_main!(benches);*/

exemplar/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ pub trait Model {
194194
/// This method serves two purposes:
195195
/// - Enabling insertions into secondary tables (such as in-memory caches.)
196196
/// - Squeezing out a few hundred extra nanoseconds of performance on insert operations. [`insert`](Model::insert)
197-
/// and [`insert_or`](Model::insert_or) use [`prepare_cached`](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.prepare_cached)
198-
/// to make the API convenient, but this incurs a map lookup on every call. [`insert_with`](Model::insert_with) can therefore
199-
/// help you squeeze out a bit more speed if your program is extremely write-heavy.
197+
/// and [`insert_or`](Model::insert_or) use [`prepare_cached`](https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.prepare_cached)
198+
/// to make the API convenient, but this incurs a map lookup on every call. [`insert_with`](Model::insert_with) can therefore
199+
/// help you squeeze out a bit more speed if your program is extremely write-heavy.
200200
///
201201
/// # Usage
202202
/// Exemplar binds fields to statements as *named parameters.* Take this example model type:

0 commit comments

Comments
 (0)