# 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 = "alarmo" version = "0.0.5" authors = ["RoccoDev "] build = "build.rs" exclude = [ "/.vscode", "/.github", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Provides a convenient API to bootstrap firmware and access peripherals on the Nintendo Alarmo" readme = "README.md" keywords = [ "stm32h7xx", "stm32", "nintendo", "embedded-devices", "cortex-m", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/RoccoDev/alarmo-rs" [package.metadata.docs.rs] all-features = true targets = ["thumbv7em-none-eabihf"] [lib] name = "alarmo" path = "src/lib.rs" [[example]] name = "alloc" path = "examples/alloc.rs" required-features = [ "alloc", "display", ] [[example]] name = "buttons" path = "examples/buttons.rs" [[example]] name = "buttons_interrupt" path = "examples/buttons_interrupt.rs" [[example]] name = "dial_led" path = "examples/dial_led.rs" [[example]] name = "lcd" path = "examples/lcd.rs" required-features = ["display"] [[example]] name = "panic" path = "examples/panic.rs" required-features = [ "alloc", "panic", ] [[example]] name = "usb_serial" path = "examples/usb_serial.rs" required-features = ["usb"] [[example]] name = "usb_serial_interrupt" path = "examples/usb_serial_interrupt.rs" required-features = ["usb"] [dependencies.cortex-m] version = "0.7.5" [dependencies.cortex-m-rt] version = "0.7.5" features = [ "set-vtor", "set-sp", "zero-init-ram", ] [dependencies.display-interface] version = "0.5.0" optional = true [dependencies.embedded-alloc] version = "0.6.0" optional = true [dependencies.embedded-graphics] version = "0.8.1" optional = true [dependencies.embedded-hal] version = "1.0" [dependencies.mipidsi] version = "0.8.0" optional = true [dependencies.stm32h7xx-hal] version = "0.16.0" features = [ "stm32h735", "fmc", "rt", ] [dependencies.usb-device] version = "0.3" optional = true [dev-dependencies.panic-halt] version = "1.0.0" [dev-dependencies.panic-rtt-target] version = "0.1.0" features = ["cortex-m"] [dev-dependencies.usbd-serial] version = "0.2.0" [features] alloc = [ "embedded-alloc", "cortex-m/critical-section-single-core", ] default = [] display = ["display-interface"] display-mipidsi = [ "display", "mipidsi", "embedded-graphics", ] panic = ["display-mipidsi"] usb = [ "usb-device", "stm32h7xx-hal/usb_hs", ]