[package]
name = "stepper-motion"
version = "0.1.1"
edition = "2021"
rust-version = "1.70"
license = "MIT"
description = "Configuration-driven stepper motor motion control with embedded-hal 1.0 support"
repository = "https://github.com/FrenchPOC/stepper-motion-rs"
keywords = ["stepper", "motor", "embedded", "motion", "hal"]
categories = ["embedded", "hardware-support", "no-std"]
readme = "README.md"
exclude = [".github/", ".specify/", ".vscode/", "specs/", "target/"]
[features]
default = ["std"]
std = ["serde/std", "toml"]
alloc = ["serde/alloc"]
defmt = ["dep:defmt"]
[dependencies]
embedded-hal = "1.0"
serde = { version = "1.0", default-features = false, features = ["derive"] }
heapless = { version = "0.8", features = ["serde"] }
libm = "0.2"
toml = { version = "0.8", optional = true }
defmt = { version = "0.3", optional = true }
[dev-dependencies]
embedded-hal-mock = "0.11"
proptest = "1.4"
[profile.release]
lto = true
opt-level = "s"
codegen-units = 1
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]