ch32rv 0.7.0

Flashing and debugging tool for WCH CH32 RISC-V microcontrollers
# 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"
rust-version = "1.88"
name = "ch32rv"
version = "0.7.0"
authors = ["CH32 RISC-V User Group"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Flashing and debugging tool for WCH CH32 RISC-V microcontrollers"
readme = "README.md"
keywords = [
    "ch32",
    "riscv",
    "wch",
    "wch-link",
    "flash",
]
categories = [
    "embedded",
    "command-line-utilities",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/ch32-riscv-ug/ch32rv"

[[bin]]
name = "ch32rv"
path = "src/main.rs"

[[test]]
name = "replay"
path = "tests/replay.rs"

[dependencies.ch32rv-contract]
version = "0.7.0"
features = ["clap"]

[dependencies.ch32rv-debug]
version = "0.7.0"

[dependencies.ch32rv-dmi]
version = "0.7.0"

[dependencies.ch32rv-flash]
version = "0.7.0"

[dependencies.ch32rv-target]
version = "0.7.0"

[dependencies.ch32rv-usb]
version = "0.7.0"

[dependencies.ch32rv-wchlink]
version = "0.7.0"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4"

[dependencies.gdbstub]
version = "=0.7.10"

[dependencies.serde_json]
version = "1"

[dependencies.serialport]
version = "4.10"

[dependencies.toml]
version = "0.8"

[lints.clippy]
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"