Cargo Features
[dependencies]
embedded-hal-mock = { version = "0.11.1", default-features = false, features = ["eh0", "eh1", "embedded-time", "embedded-hal-async"] }
- default = eh0, eh1, embedded-time
-
These default features are set whenever
embedded-hal-mock
is added without
somewhere in the dependency tree.default-features = false - eh0 default
-
Enables embedded-hal ^0.2.7 and nb
Affects
embedded-hal-mock::eh0
… - eh1 default
-
Enables embedded-hal and embedded-hal-nb
Affects
embedded-hal-mock::eh1
… - embedded-time default
-
Enables embedded-time and void
Affects
eh0::timer
… - embedded-hal-async
-
Enables embedded-hal-async
Affects
digital::Edge
…