# 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_nano33iot" version = "0.7.2" authors = ["Gus Wynn "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Board Support crate for the Arduino Nano 33 IOT" 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_nano33iot" path = "src/lib.rs" [[example]] name = "blinky_basic" path = "examples/blinky_basic.rs" [[example]] name = "i2c_ssd1306" path = "examples/i2c_ssd1306.rs" [[example]] name = "serial" path = "examples/serial.rs" [[example]] name = "spi_st7735" path = "examples/spi_st7735.rs" [[example]] name = "usb_logging" path = "examples/usb_logging.rs" required-features = [ "usb", "unproven", ] [dependencies.atsamd-hal] version = "0.14" default-features = false [dependencies.cortex-m-rt] version = "0.7" optional = true [dependencies.rand] version = "0.8" features = ["small_rng"] default-features = false [dependencies.usb-device] version = "0.2" optional = true [dev-dependencies.cortex-m] version = "0.7" [dev-dependencies.embedded-graphics] version = "0.7" [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" [dev-dependencies.ssd1306] version = "0.7" features = ["graphics"] [dev-dependencies.st7735-lcd] version = "0.8" [dev-dependencies.usbd-serial] version = "0.1" [features] default = [ "rt", "atsamd-hal/samd21g", ] rt = [ "cortex-m-rt", "atsamd-hal/samd21g-rt", ] unproven = ["atsamd-hal/unproven"] usb = [ "atsamd-hal/usb", "usb-device", ] use_semihosting = []