# 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 = "trellis_m4" version = "0.10.1" authors = [ "Tony Arcieri ", "Paul Sajna ", "Wez Furlong ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit NeoTrellis M4 Express" 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" [package.metadata] chip = "ATSAMD51G19A" [package.metadata.docs.rs] features = [ "adxl343", "keypad-unproven", ] [lib] name = "trellis_m4" path = "src/lib.rs" [[example]] name = "neopixel_accel" path = "examples/neopixel_accel.rs" required-features = ["adxl343"] [[example]] name = "neopixel_blink" path = "examples/neopixel_blink.rs" [[example]] name = "neopixel_keypad" path = "examples/neopixel_keypad.rs" required-features = ["keypad-unproven"] [[example]] name = "neopixel_orientation" path = "examples/neopixel_orientation.rs" required-features = ["adxl343"] [[example]] name = "neopixel_rainbow" path = "examples/neopixel_rainbow.rs" [dependencies.adxl343] version = "0.8" optional = true [dependencies.atsamd-hal] version = "0.14" default-features = false [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.keypad] version = "0.1" optional = true [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.smart-leds] version = "0.3" [dev-dependencies.ws2812-timer-delay] version = "0.3" [features] default = [ "rt", "atsamd-hal/samd51g", ] keypad-unproven = [ "keypad", "unproven", ] rt = [ "cortex-m-rt", "atsamd-hal/samd51g-rt", ] unproven = ["atsamd-hal/unproven"]