openwsn-berkeley / lakers

EDHOC implemented in Rust, optimized for microcontrollers, with bindings for C and Python.
https://crates.io/crates/lakers
BSD 3-Clause "New" or "Revised" License
12 stars 10 forks source link

Update dependencies that broke CI #102

Closed chrysn closed 9 months ago

chrysn commented 9 months ago

With https://github.com/thvdveld/cc2538-hal/pull/2 closed, cc2538-hal now has a published 0.2.0 that contains the crypto code we previously had a git branch dependency on.

This should fix the build failures that started when the PR was closed and the branch removed.

The -pac crate is updated in lockstep with -hal's dependency to avoid duplicates; the .take().expect(...) idiom is exchanged with an unsafe .steal() following the examples of cc2538-hal.

Contributes-To: https://github.com/openwsn-berkeley/edhoc-rs/pull/98

CC'ing @thvdveld who is probably the best person to review this.

chrysn commented 9 months ago

I've updated the PR to also work around a semver incompatible update to the coap crate in https://github.com/Covertness/coap-rs/issues/87, which hit crates.io about 4h ago. Keeping both in one PR as none of them alone has a chance of clearing CI.

chrysn commented 9 months ago

One more fix: covertness fixed the coap-rs issue, so to avoid referencing a now yanked version, the forcepushed version now uses the newest CoAP release right away.

malishav commented 9 months ago

Let me know if this is ready for merge?

chrysn commented 9 months ago

Ready if CI says so.

malishav commented 9 months ago

Thanks for providing this PR!