Cargo Features
[dependencies]
coapcore = { version = "0.1.0", default-features = false, features = ["defmt", "log", "liboscore-defaults", "liboscore-provide-abort", "liboscore-provide-assert"] }
- defmt
-
Cargo features
Sends the output of the crate's log statements to the
defmt
ecosystem.defmt
is not a link because we can't build docs with --all-features, see also https://github.com/t-moe/defmt-or-log/issues/4Enables defmt ^0.3.7, defmt of defmt-or-log and lakers
- log
-
Sends the output of the crate's log statements to the
log
ecosystem.log
is not a link because we can't build docs with --all-features, see also https://github.com/t-moe/defmt-or-log/issues/4Enables log, log of defmt-or-log
- liboscore-defaults default = liboscore-provide-abort, liboscore-provide-assert
-
Selects the libOSCORE default features.
libOSCORE generally provides abort and assert symbols for its C code. When used in environments where they are provided by other code (eg. ESP32 some variants), this default feature can be disabled, leaving the user to manually select the right libOSCORE features. - liboscore-provide-abort liboscore-defaults
-
Feature passed on to libOSCORE (see
liboscore-defaults
)Enables provide-abort of liboscore
- liboscore-provide-assert liboscore-defaults
-
Feature passed on to libOSCORE (see
liboscore-defaults
)Enables provide-assert of liboscore
- default = liboscore-defaults
-
The
liboscore-defaults
feature is set by default whenevercoapcore
is added without
somewhere in the dependency tree.default-features = false