namib-project / libcoap-rs

Rust bindings to and wrapper around the libcoap C library
BSD 2-Clause "Simplified" License
7 stars 1 forks source link

Update libcoap to 4.3.5, bump dependencies, improve linking (incl. ESP32) #15

Closed pulsastrix closed 4 months ago

pulsastrix commented 5 months ago

Updates libcoap to 4.3.5-rc2 as well as some dependencies to the latest released version (some of them had cargo audit warnings). Also improves some of the linking behavior and adds additional features for DTLS library vendoring

NOTE: libcoap 4.3.5 is not released yet, so we should not release a new version of libcoap to crates.io yet. However, libcoap 4.3.5 fixed some mbedtls linking issues, so i'd like to wait for that instead of switching to 4.3.4a.

github-actions[bot] commented 5 months ago

Code Coverage Report

Generated for commit d1ab0403fbd604b286e9930ed5ce5203d9489759 on Tue Jul 2 13:31:37 UTC 2024. Code Coverage

Package Line Rate Health
libcoap-sys 80%
libcoap/src 44%
libcoap/src/message 39%
libcoap/tests/common 90%
libcoap/tests 92%
libcoap-sys/src 80%
libcoap/src/session 53%
Summary 47% (903 / 1924)
pulsastrix commented 4 months ago

This PR should now be ready for a review. Implementing the newly added features (OSCORE, WebSockets, fixing DTLS on the threadsafe version of libcoap...) is probably better done in a separate PR, in order to not make this one too big.