# 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 = "jh71xx-hal" version = "0.4.1" authors = ["JH71xx HAL authors"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Hardware abstraction library for the JH71xx SoCs" readme = "README.md" keywords = [ "riscv", "jh7110", "hal", "soc", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "GPL-3.0-only" repository = "https://codeberg.org/weathered-steel/jh71xx-hal" [lib] name = "jh71xx_hal" path = "src/lib.rs" [dependencies.bitflags] version = "2.4" [dependencies.critical-section] version = "1.1" optional = true [dependencies.embedded-hal] version = "1.0.0" [dependencies.embedded-hal-nb] version = "1.0.0" [dependencies.embedded-io] version = "0.6" [dependencies.heapless] version = "0.7" [dependencies.jh71xx-pac] version = "0.8.0" [dependencies.nb] version = "1.1" [dependencies.panic-halt] version = "0.2" optional = true [dependencies.riscv] version = "0.11" [dependencies.riscv-rt] version = "0.12" optional = true [dev-dependencies.defmt] version = "0.3" [dev-dependencies.defmt-test] version = "0.3" [features] 2G = [] 4G = [] 8G = [] default = ["4G"] rt = [ "critical-section/restore-state-bool", "jh71xx-pac/rt", "riscv-rt", ] rts = [ "rt", "jh71xx-pac/rts", "riscv-rt/s-mode", ]