# 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 = "arduino_mkrzero" version = "0.12.2" authors = [ "Wez Furlong ", "David McGillicuddy ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Arduino MKRZERO" readme = "README.md" keywords = [ "no-std", "arm", "cortex-m", "embedded-hal", "arduino", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/atsamd-rs/atsamd" [package.metadata] chip = "ATSAMD21G18A" [lib] name = "arduino_mkrzero" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "blinky_rtic" path = "examples/blinky_rtic.rs" required-features = [ "rtic", "unproven", ] [[example]] name = "pwm" path = "examples/pwm.rs" required-features = ["unproven"] [[example]] name = "usb_logging" path = "examples/usb_logging.rs" required-features = ["usb"] [dependencies.atsamd-hal] version = "0.16" default-features = false [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.embedded-hal] version = "0.2.7" [dependencies.embedded-sdmmc] version = "0.3" optional = true [dependencies.usb-device] version = "0.2" optional = true [dev-dependencies.cortex-m] version = "0.7" [dev-dependencies.cortex-m-rtic] version = "1.0" [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.usbd-serial] version = "0.1" [features] default = [ "rt", "atsamd-hal/samd21g", "usb", ] rt = [ "cortex-m-rt", "atsamd-hal/samd21g-rt", ] rtic = ["atsamd-hal/rtic"] unproven = ["atsamd-hal/unproven"] usb = [ "atsamd-hal/usb", "usb-device", ] use_semihosting = []