8000 build: redb 4, sha2 0.11, prost 0.14, prost-reflect 0.16, protox 0.10 by arminhammer · Pull Request #41 · arminhammer/jackdaw · GitHub
[go: up one dir, main page]

Skip to content
8000

build: redb 4, sha2 0.11, prost 0.14, prost-reflect 0.16, protox 0.10 - #41

Merged
arminhammer merged 1 commit into
mainfrom
deps-update
Nov 1, 2026
Merged

arminhammer merged 1 commit into
mainfrom
deps-update

Conversation

@arminhammer
Copy link
Copy Markdown
Owner

Replaces the four Dependabot PRs, which each failed on their own: #35 (prost), #36 (redb), #37 (protox) and #38 (sha2).

Why they failed separately

  • The prost family: prost, prost-types, prost-reflect and protox have to move together. protox 0.10 requires prost 0.14 and prost-reflect 0.16, so bumping one of them alone can't resolve. tonic-reflection 0.14 already used prost 0.14, so the lockfile was building two prost versions; now there's one.
  • redb 2 → 4: Database::begin_read moved to the ReadableDatabase trait.
  • sha2 0.10 → 0.11: the digest no longer implements LowerHex, so format!("{:x}", …) stopped compiling.

Changes

  • redb: imports the ReadableDatabase trait in the Redb persistence and cache stores.
  • sha2: the cache key is now formatted byte by byte, producing the same string as before, so stored cache entries still match. A new test pins the key for a known input.
  • Changelog: Redb stores use redb 4. Its file format replaces the v2 format redb 2 wrote, so a Redb database from 0.1 can't be opened. There's no migration, since jackdaw isn't in use anywhere yet.

Verified

  • Tests: the full workspace suite passes: 339 library scenarios, the CTK, listener and Docker suites, the 76 API tests, the 37 library unit tests and the 50 doctests.
  • Feature builds: clippy with redb, grpc-listener and openapi each built on its own.
  • Audit and MSRV: cargo audit is clean, and the workspace builds on the 1.94 MSRV. The new crates require Rust 1.90 or older.

v0.2.0 hasn't been released yet, so merging this before starting the release lets 0.2.0 ship with these versions.

🤖 Generated with Claude Code

Replaces the four Dependabot PRs (#35 prost, #36 redb, #37 protox, #38 sha2), which failed because each moved one
crate of a set that has to move together.

- prost, prost-types, prost-reflect and protox move as one family (protox 0.10 needs prost 0.14 and prost-reflect
  0.16). tonic-reflection 0.14 already used prost 0.14, so the lockfile no longer builds two prosts.
- redb 4: `Database::begin_read` comes from the `ReadableDatabase` trait. redb 3 dropped the v2 file format that
  redb 2 wrote, so a Redb database from 0.1 cannot be opened (changelog).
- sha2 0.11: the digest no longer implements `LowerHex`; the cache key is formatted byte by byte to the same string,
  pinned by a new test, so stored cache entries still match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@arminhammer
arminhammer merged commit 89a7bb1 into main Nov 1, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0