Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 12 commits into from
Jul 2, 2024

Commits on Jul 2, 2024

  1. feat(sys): improve linking behavior, separate features for vendoring …

    …DTLS
    
    - using mbedtls or tinydtls will no longer force usage of the vendored
      library version of mbedtls-sys-auto/tinydtls-sys by default
    - remove dependency on gnutls-sys crate as it is unmaintained, we now
      handle linking to gnutls ourselves
    - mbedtls-sys-auto is only used if mbedtls should be vendored, as the
      crate doesn't allow for disabling vendoring independently and doesn't
      support mbedtls >= 3.0.0
      (see fortanix/rust-mbedtls#320)
    - in order to use the vendored versions of DTLS crate, you now have to
      enable the `dtls_backend_[BACKEND]_vendored` feature of libcoap-sys
      (or the `dtls_[BACKEND]_vendored` feature of libcoap-rs)
    pulsastrix committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1f16209 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55ea4d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    762f4b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51e4d2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8de9d7d View commit details
    Browse the repository at this point in the history
  6. fix(sys): only reimplement coap_send_rst if version <= 4.3.4

    Before libcoap 4.3.5, coap_send_rst was inlined, which is why we had to
    reimplement it, as bindgen didn't generate bindings for it.
    pulsastrix committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fd9559f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d27b95d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cc0773a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1ae7ed8 View commit details
    Browse the repository at this point in the history
  10. fix(sys|lib): apply code review suggestions from #15

    Co-authored-by: Jan Romann <[email protected]>
    pulsastrix and JKRhb committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    27fbfa4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1fc360f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5b47b8f View commit details
    Browse the repository at this point in the history