# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "stm32f3xx-hal-v2" version = "0.6.0" authors = ["Dylan Frankland ", "Sh3Rm4n ", "Jan Teske "] exclude = ["codegen", ".markdownlint.yml"] description = "Peripheral access API for STM32F3 series microcontrollers" documentation = "https://docs.rs/stm32f3xx-hal" readme = "README.md" keywords = ["arm", "cortex-m", "stm32f3xx", "hal"] categories = ["embedded", "hardware-support", "no-std"] license = "0BSD" repository = "https://github.com/stm32-rs/stm32f3xx-hal" [package.metadata.docs.rs] features = ["stm32f303xc", "rt", "stm32-usbd", "can"] targets = ["thumbv7em-none-eabihf"] [profile.dev] lto = true debug = true [profile.release] opt-level = "s" lto = true debug = true [[example]] name = "clocks" required-features = ["stm32f303xc"] [[example]] name = "pwm" required-features = ["stm32f303xc"] [[example]] name = "toggle" required-features = ["rt", "stm32f303xc"] [[example]] name = "usb_serial" required-features = ["rt", "stm32f303xc", "stm32-usbd"] [[example]] name = "spi" required-features = ["stm32f303"] [[example]] name = "can" required-features = ["rt", "can", "stm32f303"] [[example]] name = "serial" required-features = ["stm32f303"] [[example]] name = "serial_dma" required-features = ["stm32f303"] [[example]] name = "adc" required-features = ["stm32f303"] [[example]] name = "i2c_scanner" required-features = ["stm32f303xc"] [[example]] name = "gpio_erased" required-features = ["rt", "stm32f303xc"] [[test]] name = "rcc" harness = false required-features = ["rt", "defmt"] [dependencies.bare-metal] version = "0.2" features = ["const-fn"] [dependencies.cfg-if] version = "1.0" [dependencies.cortex-m] version = "0.6" [dependencies.cortex-m-rt] version = "0.6" [dependencies.defmt] version = "0.1.2" optional = true [dependencies.doc-comment] version = "0.3.3" [dependencies.embedded-dma] version = "0.1" [dependencies.embedded-hal] version = "0.2" [dependencies.embedded-hal-can] version = "0.1.0" optional = true [dependencies.nb] version = "0.1" [dependencies.num-traits] version = "0.2.11" features = ["libm"] default-features = false [dependencies.paste] version = "1" [dependencies.rtcc] version = "0.2" [dependencies.stm32-usbd] version = "0.5" optional = true [dependencies.stm32f3] version = "0.12" [dependencies.void] version = "1" default-features = false [dev-dependencies.cortex-m-semihosting] version = "0.3" [dev-dependencies.defmt-rtt] version = "0.1.0" [dev-dependencies.defmt-test] version = "0.1.0" [dev-dependencies.panic-probe] version = "0.1.0" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.usb-device] version = "0.2" [dev-dependencies.usbd-serial] version = "0.1" [features] can = ["embedded-hal-can"] default = ["unproven"] defmt-debug = ["defmt"] defmt-default = ["defmt"] defmt-error = ["defmt"] defmt-info = ["defmt"] defmt-trace = ["defmt"] defmt-warn = ["defmt"] device-selected = [] direct-call-deprecated = [] gpio-f302 = [] gpio-f303 = [] gpio-f303e = [] gpio-f333 = [] gpio-f373 = [] rt = ["stm32f3/rt"] stm32f301 = ["gpio-f302", "stm32f3/stm32f301", "device-selected"] stm32f302 = ["stm32f3/stm32f302", "direct-call-deprecated"] stm32f302x6 = ["stm32f302", "gpio-f302", "device-selected"] stm32f302x8 = ["stm32f302", "gpio-f302", "device-selected"] stm32f302xb = ["stm32f302", "gpio-f303", "device-selected"] stm32f302xc = ["stm32f302", "gpio-f303", "device-selected"] stm32f302xd = ["stm32f302", "gpio-f303e", "device-selected"] stm32f302xe = ["stm32f302", "gpio-f303e", "device-selected"] stm32f303 = ["stm32f3/stm32f303", "direct-call-deprecated"] stm32f303x6 = ["stm32f303", "gpio-f333", "device-selected"] stm32f303x8 = ["stm32f303", "gpio-f333", "device-selected"] stm32f303xb = ["stm32f303", "gpio-f303", "stm32-usbd/ram_access_1x16", "device-selected"] stm32f303xc = ["stm32f303", "gpio-f303", "stm32-usbd/ram_access_1x16", "device-selected"] stm32f303xd = ["stm32f303", "gpio-f303e", "stm32-usbd/ram_access_2x16", "device-selected"] stm32f303xe = ["stm32f303", "gpio-f303e", "stm32-usbd/ram_access_2x16", "device-selected"] stm32f318 = ["gpio-f302", "stm32f3/stm32f301", "device-selected"] stm32f328 = ["gpio-f333", "stm32f3/stm32f3x8", "device-selected"] stm32f334 = ["gpio-f333", "stm32f3/stm32f3x4", "device-selected"] stm32f358 = ["gpio-f303", "stm32f3/stm32f3x8", "device-selected"] stm32f373 = ["gpio-f373", "stm32f3/stm32f373", "device-selected"] stm32f378 = ["gpio-f373", "stm32f3/stm32f373", "device-selected"] stm32f398 = ["gpio-f303e", "stm32f3/stm32f3x8", "device-selected"] unproven = ["embedded-hal/unproven"]