Closed pulsastrix closed 3 months ago
Generated for commit 44d605d6605e69f597d1b766d2ddfc0d4ca58cda on Thu Jul 18 15:34:28 UTC 2024.
Package | Line Rate | Health |
---|---|---|
libcoap/tests/common | 88% | ✔ |
libcoap/src/message | 37% | ❌ |
libcoap/src/session | 53% | ➖ |
libcoap/tests | 91% | ✔ |
libcoap-sys | 70% | ➖ |
libcoap-sys/src | 70% | ➖ |
libcoap/src | 44% | ❌ |
Summary | 46% (894 / 1946) | ❌ |
Apparently there seems to be some issue with doctests and the unstable --ensure-time
cargo flag.
For now, I have disabled these unstable flags and changed the toolchain the tests are run on to stable Rust.
This PR rewrites the
CoapUri
type to work directly with an underlyingcoap_uri_t
object and use the libcoap-provided uri parsing functions.Additionally the
url
crate is now an optional dependency, and theCoapUri
type now implementsFromStr
, which allows way easier construction of URIs.Before (using
url
crate):Before (without
url
crate):Now: