# 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 = "neokey_trinkey" version = "0.2.2" authors = ["Broderick Carlin "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit Neokey Trinkey" readme = "README.md" keywords = [ "no-std", "arm", "cortex-m", "embedded-hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/atsamd-rs/atsamd" [lib] name = "neokey_trinkey" path = "src/lib.rs" [[example]] name = "blinky" path = "examples/blinky.rs" required-features = ["leds"] [[example]] name = "button" path = "examples/button.rs" required-features = [ "leds", "unproven", ] [[example]] name = "rainbow" path = "examples/rainbow.rs" required-features = ["leds"] [[example]] name = "usb_echo" path = "examples/usb_echo.rs" required-features = ["usb"] [dependencies.atsamd-hal] version = "0.14" default-features = false [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.panic-semihosting] version = "0.6" optional = true [dependencies.smart-leds] version = "0.3" optional = true [dependencies.usb-device] version = "0.2" optional = true [dependencies.ws2812-timer-delay] version = "0.3" features = ["slow"] optional = true [dev-dependencies.cortex-m] version = "0.7" [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.usbd-serial] version = "0.1" [features] default = [ "rt", "atsamd-hal/samd21e", ] leds = [ "ws2812-timer-delay", "smart-leds", ] rt = [ "cortex-m-rt", "atsamd-hal/samd21e-rt", ] unproven = ["atsamd-hal/unproven"] usb = [ "atsamd-hal/usb", "usb-device", ] use_semihosting = ["panic-semihosting"]