Cargo Features
Async-hal has no features set by default.
[dependencies]
async-hal = { version = "0.1.0-alpha.11", features = ["full", "can", "delay", "executor", "io", "serial", "nb", "mock", "bxcan"] }
- full = can, delay, executor, io, nb, serial
- can full?
-
Affects
async-hal::can
… - delay full?
-
Affects
async-hal::delay
… - executor full?
-
Affects
async-hal::executor
… - io full?
-
Affects
async-hal::io
… - serial full?
-
Affects
async-hal::serial
… - nb full? = fugit
-
Enables nb
Affects
can::transmit
,can::receive
… - mock
-
Affects
transmit::MockTransmit
…
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.
- bxcan implicit feature
-
Enables bxcan ^0.7.0
bxcan:
STM32 bxCAN peripheral driver
- fugit nb?