m0601 0.1.1

Driver for the DFRobot M0601 (FIT1042) direct-drive hub motor over RS485
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"
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"