[package] name = "stm32l4-hal" version = "0.3.0" authors = ["Scott Mabin ", "Nicolas Stalder "] description = "Hardware abstraction layer for the stm32l4xx chips" keywords = ["no-std", "stm32l4xx", "stm32l4", "embedded", "embedded-hal"] categories = [ "embedded", "hardware-support", "no-std", ] repository = "https://github.com/MabezDev/stm32l4xx-hal" readme = "README.md" license = "MIT OR Apache-2.0" exclude = [ "manuals/*", ] edition = "2018" [dependencies] cortex-m = "0.5.8" nb = "0.1.1" stm32l4 = "0.4.0" [dependencies.cast] version = "0.2.2" default-features = false [dependencies.void] version = "1.0.2" default-features = false [dependencies.embedded-hal] version = "0.2.2" features = ["unproven"] [package.metadata.docs.rs] features = ["rt", "stm32l4x2"] [features] rt = ["stm32l4/rt"] stm32l4x1 = ["stm32l4/stm32l4x1"] stm32l4x2 = ["stm32l4/stm32l4x2"] stm32l4x3 = ["stm32l4/stm32l4x3"] stm32l4x5 = ["stm32l4/stm32l4x5"] stm32l4x6 = ["stm32l4/stm32l4x6"] [dev-dependencies] panic-semihosting = "0.5.0" cortex-m-semihosting = "0.3.1" cortex-m-rt = "0.6.5" [profile.dev] incremental = false codegen-units = 1 [profile.release] codegen-units = 1 debug = true lto = true