Cargo Features
[dependencies]
orouter-wireless = { version = "0.1.1", default-features = false, features = ["no_std", "std", "anyhow", "base64", "clap", "hex"] }
- default = std
-
The
std
feature is set by default wheneverorouter-wireless
is added without
somewhere in the dependency tree.default-features = false - no_std = defmt, heapless
-
Affects
orouter-wireless::WirelessMessagePart
… - std default = log, rand
-
Affects
orouter-wireless::WirelessMessagePart
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- defmt no_std?
- rand std
-
Enables rand ^0.7
- log std
- heapless no_std?
-
Enables heapless ^0.7
- anyhow implicit feature
-
Enables anyhow
following dependencies are only needed for the binary to build
Required by the print_sample binary
- base64 implicit feature
-
Enables base64 ^0.21.4
base64:
encodes and decodes base64 as bytes or utf8
Required by the print_sample binary
- clap implicit feature
-
Enables clap
clap:
A simple to use, efficient, and full-featured Command Line Argument Parser
Required by the print_sample binary
- hex implicit feature
-
Enables hex
hex:
Encoding and decoding data into/from hexadecimal representation
Required by the print_sample binary