[package] name = "itm_logger" version = "0.1.2" authors = ["cs2dsb "] edition = "2018" description = "An implementation of the log facade that sends logging information over ITM stim port 0" categories = ["development-tools::debugging"] keywords = ["logging", "cortex-m", "no_std"] license = "MIT OR Apache-2.0" repository = "https://github.com/cs2dsb/itm_logger.rs" readme = "README.md" documentation = "https://docs.rs/itm_logger" homepage = "https://github.com/cs2dsb/itm_logger.rs" [dependencies] cortex-m = { version = "0.6.2", optional = true } log = { version = "0.4.6", default-features = false, optional = true } [features] default = [ "logging" ] #Set up this way so it's possible to disable logging and have the log macros expand to noop logging = [ "log", "cortex-m" ] perform-enabled-checks = [] #Attempt to check if debug && itm && the stim port are all enabled before logging