# 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.75" name = "riscv-peripheral" version = "0.2.0" authors = ["The RISC-V Team "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Interfaces for standard RISC-V peripherals" documentation = "https://docs.rs/riscv-peripheral" readme = "README.md" keywords = [ "riscv", "peripheral", "clint", "plic", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "ISC" repository = "https://github.com/rust-embedded/riscv" [package.metadata.docs.rs] all-features = true default-target = "riscv64imac-unknown-none-elf" targets = [ "riscv32i-unknown-none-elf", "riscv32imc-unknown-none-elf", "riscv32imac-unknown-none-elf", "riscv64imac-unknown-none-elf", "riscv64gc-unknown-none-elf", ] [lib] name = "riscv_peripheral" path = "src/lib.rs" [[example]] name = "e310x" path = "examples/e310x.rs" [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-async] version = "1.0.0" optional = true [dependencies.riscv] version = "0.12.0" [dependencies.riscv-pac] version = "0.2.0" [dev-dependencies.heapless] version = "0.8.0" [features] aclint-hal-async = ["embedded-hal-async"]