vesc 0.2.0

A no-std/no-alloc implementation of the VESC® firmware communication protocol.
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 = "vesc"
version = "0.2.0"
authors = ["Ihor Kalnytskyi <ihor@kalnytskyi.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no-std/no-alloc implementation of the VESC® firmware communication protocol."
readme = "README.md"
keywords = [
    "embedded",
    "motor",
    "parser",
    "protocol",
    "vesc",
]
categories = [
    "automotive",
    "embedded",
    "no-std",
    "no-std::no-alloc",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/ikalnytskyi/vesc-rs"

[features]
defmt = ["dep:defmt"]
std = [
    "bitflags/std",
    "thiserror/std",
]

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

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

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

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

[dependencies.bitflags]
version = "2.9"

[dependencies.crc]
version = "3.3"

[dependencies.defmt]
version = "1.0"
optional = true

[dependencies.thiserror]
version = "2.0"
default-features = false

[dev-dependencies.googletest]
version = "0.14"