# 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 = "neo_trinkey" version = "0.2.1" authors = ["Daniel Mason "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit Neo 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 = "neo_trinkey" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" required-features = ["leds"] [[example]] name = "blinky_rainbow" path = "examples/blinky_rainbow.rs" required-features = ["leds"] [[example]] name = "usb_ack" path = "examples/usb_ack.rs" required-features = ["usb"] [dependencies.atsamd-hal] version = "0.14" default-features = false [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.smart-leds] version = "0.3.0" optional = true [dependencies.usb-device] version = "0.2" optional = true [dependencies.ws2812-timer-delay] version = "0.3.0" 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 = []