# 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 = "trinket_m0" version = "0.11.1" authors = ["Ben Bergman "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Adafruit Trinket M0" 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 = "ATSAMD21E18A" [lib] name = "trinket_m0" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "dotstar" path = "examples/dotstar.rs" required-features = ["unproven"] [[example]] name = "eic" path = "examples/eic.rs" [[example]] name = "pwm" path = "examples/pwm.rs" required-features = ["unproven"] [[example]] name = "usb_serial" path = "examples/usb_serial.rs" required-features = ["usb"] [[example]] name = "watchdog" path = "examples/watchdog.rs" required-features = ["unproven"] [dependencies.apa102-spi] version = "0.3" [dependencies.atsamd-hal] version = "0.14" default-features = false [dependencies.bitbang-hal] version = "0.3" [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.smart-leds] version = "0.3" [dependencies.usb-device] version = "0.2" 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", ] rt = [ "cortex-m-rt", "atsamd-hal/samd21e-rt", ] unproven = ["atsamd-hal/unproven"] usb = [ "atsamd-hal/usb", "usb-device", ] use_semihosting = []