Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 85 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tdigest = "0.2.3"
log = "0.4.20"
argon2 = { version = "0.5", default-features = false, features = ["std"] }
hmac = "0.12"
sha2 = "0.10"
sha2 = "0.11"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep sha2 compatible with hmac in write-key feature

Bumping sha2 to 0.11 introduces a digest major-version split with hmac = 0.12: hmac 0.12.1 in the lockfile still depends on digest 0.10, while sha2 0.11.0 depends on digest 0.11. In searchlite-core’s write-key path, Hmac::<Sha256> (see searchlite-core/src/util/write_key.rs) requires Sha256 to implement the same digest traits as hmac, so builds with --all-features (or write-key enabled) will fail with trait-bound mismatches.

Useful? React with 👍 / 👎.

base64 = "0.22"
subtle = "2.5"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
Loading