# 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 = "rtt-debug-tool-mcu"
version = "0.2.1"
authors = ["XieFField <3432674139@qq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RTT Debug Tool - MCU调试工具库,配合RTT_DebugTool主机端使用"
homepage = "https://github.com/XieFField/RTT_DebugTool"
documentation = "https://github.com/XieFField/RTT_DebugTool"
readme = "README.md"
license = "MIT"
repository = "https://github.com/XieFField/RTT_DebugTool"

[package.metadata.wix]
help_url = "https://github.com/XieFField/RTT_DebugTool"

[features]
_core-cm0p = []
_core-cm4 = []
_core-cm7 = []
_dual-core = []
default = []
stm32f103c8 = ["embassy-stm32/stm32f103c8"]
stm32h723zg = ["embassy-stm32/stm32h723zg"]

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

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

[dependencies.embassy-executor]
version = "0.9"
features = ["executor-thread"]

[dependencies.embassy-futures]
version = "0.1"

[dependencies.embassy-stm32]
version = "0.6.0"
features = ["unstable-pac"]
default-features = false

[dependencies.embassy-time]
version = "0.5"

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

[dependencies.heapless]
version = "0.9"

[dependencies.nb]
version = "1"

[dependencies.rtt-debug-tool-mcu-derive]
version = "0.1.0"

[dependencies.rtt-target]
version = "0.6"
