cu-bdshot 0.13.0

Copper Bridge to Bidirectional DSHOT ESCs.
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 = "cu-bdshot"
version = "0.13.0"
authors = ["Guillaume Binet <gbin@gootz.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Copper Bridge to Bidirectional DSHOT ESCs."
homepage = "https://github.com/copper-project"
readme = "README.md"
keywords = [
    "robotics",
    "middleware",
    "copper",
    "real-time",
]
categories = ["science::robotics"]
license = "Apache-2.0"
repository = "https://github.com/copper-project/copper-rs"
resolver = "2"

[package.metadata.copper]
embedded_only = true
embedded_target = "thumbv8m.main-none-eabihf"
embedded_features = "rp2350"

[features]
default = ["messages-only"]
defmt = ["stm32h7xx-hal/defmt"]
messages-only = []
rp2350 = [
    "dep:rp235x-hal",
    "dep:pio",
]
stm32h7 = [
    "dep:stm32h7xx-hal",
    "defmt",
]
textlogs = ["cu29/textlogs"]

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

[dependencies.bincode]
version = "2.0"
features = [
    "derive",
    "alloc",
    "alloc",
]
default-features = false
package = "cu-bincode"

[dependencies.cortex-m]
version = "0.7.7"

[dependencies.cu29]
version = "0.13.0"
default-features = false

[dependencies.pio]
version = "0.3"
optional = true

[dependencies.rp235x-hal]
version = "0.4"
features = ["critical-section-impl"]
optional = true

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
    "derive",
]
default-features = false

[dependencies.spin]
version = "0.10"

[dependencies.stm32h7xx-hal]
version = "0.16.0"
features = ["stm32h743v"]
optional = true
default-features = false