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 default-features = false somewhere in the dependency tree.

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 ^1.0

thiserror core_error? std_error?

Affects platform-switch::thiserror