[package]
edition = "2024"
rust-version = "1.88"
name = "m0601"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Driver for the DFRobot M0601 (FIT1042) direct-drive hub motor over RS485"
readme = "README.md"
keywords = [
"rs485",
"motor",
"robotics",
"serial",
"dfrobot",
]
categories = [
"embedded",
"hardware-support",
"science::robotics",
]
license = "MIT"
repository = "https://github.com/dougcalobrisi/m0601-rs"
[lib]
name = "m0601"
path = "src/lib.rs"
[[example]]
name = "four_wheel_minimal"
path = "examples/four_wheel_minimal.rs"
[[example]]
name = "usage_doc_check"
path = "examples/usage_doc_check.rs"
[[test]]
name = "bus_mock"
path = "tests/bus_mock.rs"
[[test]]
name = "hardware"
path = "tests/hardware.rs"
[[test]]
name = "spacing"
path = "tests/spacing.rs"
[[test]]
name = "vectors"
path = "tests/vectors.rs"
[dependencies.serialport]
version = "4"
default-features = false
[dependencies.thiserror]
version = "2"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"