ch58x-hal 0.0.2

HAL for the CH583/CH582/CH581 RISC-V BLE microcotrollers from WCH
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 = "2021"
name = "ch58x-hal"
version = "0.0.2"
authors = ["Andelf <andelf@gmail.com>"]
description = "HAL for the CH583/CH582/CH581 RISC-V BLE microcotrollers from WCH"
homepage = "https://github.com/ch32-rs/ch58x-hal"
documentation = "https://docs.rs/ch58x-hal"
readme = "README.md"
keywords = [
    "embedded-hal",
    "embassy",
    "ch582",
    "ch581",
    "ch583",
]
categories = [
    "embedded",
    "no-std",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/ch32-rs/ch58x-hal"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"

[dependencies.ch58x]
version = "0.3.0"
features = [
    "ch58x",
    "rt",
]

[dependencies.critical-section]
version = "1.1.2"

[dependencies.embassy-sync]
version = "0.5.0"
optional = true

[dependencies.embassy-time]
version = "0.2.0"
features = ["tick-hz-32_768"]
optional = true

[dependencies.embedded-hal-02]
version = "0.2.7"
features = ["unproven"]
package = "embedded-hal"

[dependencies.embedded-hal-1]
version = "=1.0.0-rc.2"
package = "embedded-hal"

[dependencies.embedded-hal-async]
version = "1.0.0-rc.1"

[dependencies.embedded-hal-nb]
version = "1.0.0-rc.1"

[dependencies.fugit]
version = "0.3.7"

[dependencies.nb]
version = "1.1.0"

[dependencies.qingke]
version = "0.1.7"
features = ["critical-section-impl"]

[dependencies.qingke-rt]
version = "0.1.7"
features = ["highcode"]

[dev-dependencies.display-interface]
version = "0.4.1"

[dev-dependencies.display-interface-spi]
version = "0.4.1"

[dev-dependencies.embassy-executor]
version = "0.4.0"
features = [
    "nightly",
    "integrated-timers",
    "arch-riscv32",
    "executor-thread",
]

[dev-dependencies.embassy-futures]
version = "0.1.1"

[dev-dependencies.embedded-alloc]
version = "0.5.0"

[dev-dependencies.embedded-graphics]
version = "0.8.1"

[dev-dependencies.embedded-sdmmc]
version = "0.6.0"

[dev-dependencies.heapless]
version = "0.8.0"

[dev-dependencies.panic-halt]
version = "0.2.0"

[dev-dependencies.ssd1306]
version = "0.8.4"

[features]
ble = []
default = [
    "ble",
    "embassy",
]
embassy = [
    "dep:embassy-time",
    "dep:embassy-sync",
]