bs2x-pac 0.1.0

Peripheral Access Crate for HiSilicon BS21/BS2X (RISC-V, BLE 5.4 + SLE/NearLink) — generated via svd2rust from bs2x-svd
Documentation
# 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 = "2024"
name = "bs2x-pac"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Peripheral Access Crate for HiSilicon BS21/BS2X (RISC-V, BLE 5.4 + SLE/NearLink) — generated via svd2rust from bs2x-svd"
readme = "README.md"
keywords = [
    "bs21",
    "bs2x",
    "hisilicon",
    "riscv",
    "svd2rust",
]
categories = [
    "embedded",
    "no-std",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/hispark-rs/bs2x-pac"

[features]
default = ["critical-section"]
rt = []

[lib]
name = "bs2x_pac"
path = "src/lib.rs"

[dependencies.critical-section]
version = "1"
optional = true

[dependencies.vcell]
version = "0.1"

[target.'cfg(target_arch = "riscv32")'.dependencies.riscv]
version = "0.13"

[profile.release]
opt-level = "s"
lto = true