[package]
edition = "2024"
name = "vesc"
version = "0.3.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"