khonsulabs / bonsaidb

A developer-friendly document database that grows with you, written in Rust
https://bonsaidb.io/
Apache License 2.0
998 stars 37 forks source link

hpke & p256 crates update #267

Closed D1plo1d closed 1 year ago

D1plo1d commented 1 year ago

I am using bonsaidb in a project which also uses the webrtc crate resulting in a conflict with bonsaidb due to a dependency on a newer version of p256.

This patch updates p256 and it's dependent crate hpke to their latest stable versions.

ecton commented 1 year ago

Thank you for this! The failures in CI aren't related to these updates.

ecton commented 1 year ago

Are you wanting me to release an update to v0.4 with these? I only just now realized this PR was against release and not main.

ecton commented 1 year ago

I've cherry-picked this commit to main so that your commit is in the main history as well as the release branch's history.

D1plo1d commented 1 year ago

Appreciate it! A patch release would be great although I'm certainly not dependent on it.

I thought about this more after my PR and I think it might be appropriate to do a follow up PR to adjust this to a dependency version range so we keep maximal flexibility when installing along-side other crates (eg. version=">= 0.x, < 0.y").

D1plo1d commented 1 year ago

Sorry about making you merge twice - hindsight is definitely 20:20 for me some days! The improved PR is here: #268