v5gdb 0.1.0-alpha.2

GDB-compatible debugger backend for the VEX V5 platform
# 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.94"
name = "v5gdb"
version = "0.1.0-alpha.2"
authors = [
    "Lewis McClelland <lewis@lewismcclelland.me>",
    "Tropical",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GDB-compatible debugger backend for the VEX V5 platform"
homepage = "https://internals.vexide.dev/technical/debugger"
readme = "README.md"
keywords = [
    "vex-v5",
    "gdb",
    "debugging",
    "vexide",
]
categories = [
    "development-tools::debugging",
    "embedded",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vexide/v5gdb"

[package.metadata.pros]
supported_kernels = "^4.2.2"
target = "v5"

[package.metadata.pros.metadata]

[package.metadata.v5]
upload-strategy = "differential"
slot = 1
icon = "cool-x"
compress = true

[features]
alloc = []
default = ["alloc"]
freertos = []
pros = ["freertos"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "motor-stop"
path = "examples/motor-stop.rs"

[[example]]
name = "spin"
path = "examples/spin.rs"

[[test]]
name = "hardware"
path = "tests/hardware.rs"
harness = false

[dependencies.arbitrary-int]
version = "2.1.1"

[dependencies.bitbybit]
version = "2.0.0"

[dependencies.bytemuck]
version = "1.25.0"
features = [
    "derive",
    "must_cast",
]

[dependencies.derive_more]
version = "2.1.1"
features = ["from"]
default-features = false

[dependencies.gdbstub]
version = "0.7.10"
features = ["core_error"]
default-features = false

[dependencies.log]
version = "0.4.29"

[dependencies.owo-colors]
version = "4.3.0"

[dependencies.spin]
version = "0.12.2"
features = [
    "mutex",
    "once",
    "spin_mutex",
]
default-features = false

[dependencies.static_cell]
version = "2.1.0"
default-features = false

[dependencies.vex-sdk]
version = "0.29.0-rc.1"

[dev-dependencies.anyhow]
version = "1.0.102"

[dev-dependencies.clang_log]
version = "2.1.2"

[dev-dependencies.colored]
version = "3.1.1"

[dev-dependencies.vexide]
version = "0.9.0-alpha.1"
features = [
    "full",
    "default-sdk",
]

[target.'cfg(target_arch = "arm")'.dependencies.aarch32-cpu]
version = "0.4.0"
features = ["critical-section-single-core"]

[target.'cfg(target_arch = "arm")'.dependencies.cobs]
version = "0.5.1"
default-features = false

[target.'cfg(target_arch = "arm")'.dependencies.critical-section]
version = "1.2.0"

[target.'cfg(target_arch = "arm")'.dependencies.derive-mmio]
version = "0.8.0"

[target.'cfg(target_arch = "arm")'.dependencies.snafu]
version = "0.9.0"
features = ["rust_1_81"]
default-features = false

[target.'cfg(target_arch = "arm")'.dependencies.zynq7000]
version = "0.4.0"

[profile.dev-opt]
inherits = "dev"

[profile.dev-opt.package."*"]
opt-level = "z"

[profile.release]
opt-level = "z"
lto = false
debug = 2