# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "platform-switch" version = "0.1.0" authors = ["Jake Swensen"] description = "Namespace facades for switching between platforms." readme = "README.md" keywords = [ "no_std", "microcontrollers", "embedded", "mcu", ] license = "MPL-2.0" [dependencies.cfg-if] version = "1.0.0" [dependencies.defmt] version = "0.3" optional = true [dependencies.log] version = "0.4" optional = true [dependencies.thiserror] version = "1.0" optional = true [dependencies.thiserror-core] version = "1.0" optional = true default-features = false [features] core_error = [ "thiserror", "dep:thiserror-core", ] default = [ "std", "log", ] defmt = ["dep:defmt"] log = ["dep:log"] std = ["std_error"] std_error = [ "thiserror", "dep:thiserror", ] thiserror = []