Skip to content

Commit

Permalink
Upgrade rusqlite dep
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik committed Nov 13, 2023
1 parent e2c085d commit 5df4b79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlite-hashes"
version = "0.5.0" # This value is also used in the README.md
version = "0.5.1" # This value is also used in the README.md
description = "Hashing functions for SQLite with aggregation support: MD5, SHA1, SHA256, SHA512"
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>"]
repository = "https://github.com/nyurik/sqlite-hashes"
Expand Down Expand Up @@ -33,7 +33,7 @@ sha512 = ["dep:sha2"]
[dependencies]
hex = { version = "0.4", optional = true }
log = { version = "0.4", optional = true }
rusqlite = { version = "0.29.0", features = ["functions"] }
rusqlite = { version = "0.30.0", features = ["functions"] }

# Digest and all hashing algorithms are using the same crates internally, so should be kept in sync
digest = "0.10.7"
Expand Down
2 changes: 1 addition & 1 deletion src/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl<T: Digest + Clone + UnwindSafe + RefUnwindSafe, R: ToSql> Aggregate<HashSta
impl<T: Digest + Clone + UnwindSafe + RefUnwindSafe, R: ToSql>
WindowAggregate<HashState<T>, Option<R>> for AggType<T, R>
{
fn value(&self, agg: Option<&HashState<T>>) -> Result<Option<R>> {
fn value(&self, agg: Option<&mut HashState<T>>) -> Result<Option<R>> {
trace!("{}: WindowAggregate::value", self.fn_name);
Ok(agg.and_then(|v| (self.to_value)(v)))
}
Expand Down

0 comments on commit 5df4b79

Please # to comment.