Cargo Features
[dependencies]
platform-switch = { version = "0.1.0", default-features = false, features = ["std", "log", "defmt", "core_error", "std_error", "thiserror"] }
- default = log, std
-
These default features are set whenever
platform-switch
is added without
somewhere in the dependency tree.default-features = false - std default = std_error
- log default
-
Enables log
Affects
platform-switch::log
… - defmt
-
Enables defmt
- core_error = thiserror
-
Currently requires +nightly
Enables thiserror-core
- std_error std = thiserror
-
Enables thiserror
- thiserror core_error? std_error?
-
Affects
platform-switch::thiserror
…