# 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 = "2018" name = "stm32l4xx-hal" version = "0.7.1" authors = ["Scott Mabin "] exclude = [ ".travis.yml", ".gitignore", "docs/", "docs/*", ] description = "Hardware abstraction layer for the stm32l4xx chips" readme = "README.md" keywords = [ "no-std", "stm32l4xx", "stm32l4", "embedded", "embedded-hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/MabezDev/stm32l4xx-hal" [package.metadata.docs.rs] features = [ "rt", "stm32l432", "stm32-usbd", ] [profile.dev] codegen-units = 1 incremental = false [profile.release] lto = true codegen-units = 1 debug = true [[example]] name = "adc" required-features = ["rt"] [[example]] name = "can-loopback" required-features = [ "rt", "stm32l433", ] [[example]] name = "irq_button" required-features = ["rt"] [[example]] name = "qspi" required-features = [ "rt", "stm32l476", ] [[example]] name = "rng" required-features = ["unproven"] [[example]] name = "rtc_alarm" required-features = ["rt"] [[example]] name = "rtic_frame_serial_dma" required-features = ["rt"] [[example]] name = "spi_dma_rxtx" required-features = ["rt"] [[example]] name = "serial_echo_rtic" required-features = ["rt"] [[example]] name = "timer" required-features = ["rt"] [[example]] name = "usb_serial" required-features = [ "rt", "stm32-usbd", ] [[example]] name = "otg_fs_serial" required-features = [ "rt", "otg_fs", ] [[example]] name = "i2c_write" required-features = ["stm32l433"] [[example]] name = "lptim_rtic" required-features = ["rt"] [[example]] name = "adc_dma" required-features = ["rt"] [dependencies.bxcan] version = ">=0.4, <0.7" [dependencies.cast] version = "0.2.2" default-features = false [dependencies.cortex-m] version = "0.7" [dependencies.embedded-dma] version = "0.1" [dependencies.embedded-hal] version = "0.2.6" features = ["unproven"] [dependencies.fugit] version = "0.3.5" [dependencies.nb] version = "0.1.1" [dependencies.rand_core] version = "0.6.2" default-features = false [dependencies.stable_deref_trait] version = "1.1" default-features = false [dependencies.stm32-usbd] version = "0.6.0" optional = true [dependencies.stm32l4] version = "0.14.0" [dependencies.synopsys-usb-otg] version = "0.2.4" features = [ "cortex-m", "fs", ] optional = true [dependencies.void] version = "1.0.2" default-features = false [dev-dependencies.cortex-m-rt] version = "0.7" [dev-dependencies.cortex-m-rtic] version = "0.5.9" features = ["cortex-m-7"] default-features = false [dev-dependencies.cortex-m-semihosting] version = "0.3.5" [dev-dependencies.heapless] version = "0.5" [dev-dependencies.panic-halt] version = "0.2.0" [dev-dependencies.panic-rtt-target] version = "0.1.1" features = ["cortex-m"] [dev-dependencies.panic-semihosting] version = "0.5.0" [dev-dependencies.rtt-target] version = "0.2.2" features = ["cortex-m"] [dev-dependencies.usb-device] version = "0.2.3" [dev-dependencies.usbd-serial] version = "0.1.0" [features] otg_fs = ["synopsys-usb-otg"] rt = ["stm32l4/rt"] stm32l412 = ["stm32l4/stm32l412"] stm32l422 = ["stm32l4/stm32l412"] stm32l431 = ["stm32l4/stm32l4x1"] stm32l432 = ["stm32l4/stm32l4x2"] stm32l433 = ["stm32l4/stm32l4x3"] stm32l442 = ["stm32l4/stm32l4x2"] stm32l443 = ["stm32l4/stm32l4x3"] stm32l451 = ["stm32l4/stm32l4x1"] stm32l452 = ["stm32l4/stm32l4x2"] stm32l462 = ["stm32l4/stm32l4x2"] stm32l471 = ["stm32l4/stm32l4x1"] stm32l475 = ["stm32l4/stm32l4x5"] stm32l476 = ["stm32l4/stm32l4x6"] stm32l486 = ["stm32l4/stm32l4x6"] stm32l496 = ["stm32l4/stm32l4x6"] stm32l4a6 = ["stm32l4/stm32l4x6"] stm32l4r9 = ["stm32l4/stm32l4r9"] stm32l4s9 = ["stm32l4/stm32l4r9"] unproven = ["embedded-hal/unproven"]