[package]
edition = "2021"
rust-version = "1.68"
name = "moondancer-pac"
version = "0.2.2"
authors = ["Great Scott Gadgets <dev@greatscottgadgets.com>"]
build = "build.rs"
include = [
"src/**/*",
"README.md",
"device.x",
"build.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A peripheral access crate for the Cynthion Moondancer SoC"
documentation = "https://docs.rs/moondancer-pac"
readme = "README.md"
keywords = [
"cynthion",
"luna",
"riscv",
"peripheral",
"usb",
]
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 = "moondancer_pac"
path = "src/lib.rs"
test = false
bench = false
[dependencies.critical-section]
version = "=1.2.0"
optional = true
[dependencies.riscv]
version = "=0.10.1"
[dependencies.riscv-rt]
version = "=0.11.0"
optional = true
[dependencies.vcell]
version = "=0.1.3"
[features]
default = ["vexriscv"]
minerva = []
rt = ["riscv-rt"]
vexriscv = []