# 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" rust-version = "1.68" name = "lunasoc-hal" version = "0.1.7" authors = ["Great Scott Gadgets "] build = false include = [ "examples/**/*", "src/**/*", "README.md", "memory.x", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Hardware Abstraction Layer implementation for LunaSoC cores" documentation = "https://docs.rs/lunasoc-hal" readme = "README.md" keywords = [ "cynthion", "riscv", "luna-soc", "hal", "embedded-hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "BSD-3-Clause" repository = "https://github.com/greatscottgadgets/cynthion" [package.metadata.docs.rs] default-target = "riscv32imac-unknown-none-elf" targets = [ "riscv32i-unknown-none-elf", "riscv32imac-unknown-none-elf", ] [lib] name = "lunasoc_hal" path = "src/lib.rs" test = false bench = false [[example]] name = "blinky" path = "examples/blinky.rs" required-features = ["moondancer-pac/rt"] [[example]] name = "blinky_pac" path = "examples/blinky_pac.rs" required-features = ["moondancer-pac/rt"] [[example]] name = "interrupts" path = "examples/interrupts.rs" required-features = ["moondancer-pac/rt"] [[example]] name = "interrupts_pac" path = "examples/interrupts_pac.rs" required-features = ["moondancer-pac/rt"] [[example]] name = "uart" path = "examples/uart.rs" required-features = ["moondancer-pac/rt"] [[example]] name = "uart_pac" path = "examples/uart_pac.rs" required-features = ["moondancer-pac/rt"] [dependencies.embedded-hal] version = "=1.0.0-alpha.9" [dependencies.embedded-hal-0] version = "=0.2.7" features = ["unproven"] package = "embedded-hal" [dependencies.embedded-hal-nb] version = "=1.0.0-alpha.1" [dependencies.log] version = "=0.4.17" optional = true [dependencies.nb] version = "=1.1.0" [dependencies.riscv] version = "=0.10.1" [dependencies.smolusb] version = "0.1.6" optional = true [dev-dependencies.moondancer-pac] version = "0.1.1" features = [ "critical-section", "rt", ] default-features = false [dev-dependencies.panic-halt] version = "=0.2.0" [dev-dependencies.riscv] version = "=0.10.1" features = ["critical-section-single-hart"] [dev-dependencies.riscv-rt] version = "=0.11.0" [features] default = ["vexriscv"] minerva = ["moondancer-pac/minerva"] nightly = [] usb = [ "log", "smolusb", ] vexriscv = ["moondancer-pac/vexriscv"]