Switched custom quantities to using a macro for generation.

This commit is contained in:
Zachary Sunforge
2024-07-10 22:06:16 -07:00
parent da5fca74ef
commit a9f46c549e
9 changed files with 197 additions and 229 deletions

View File

@ -6,10 +6,12 @@ members = [
# Device types
"node",
"commander",
# Meta
"generate-quantity"
]
[workspace.package]
version = "0.3.5"
version = "0.3.6"
edition = "2021"
repository = "https://git.bfpower.io/BFPOWER/physical"
readme = "README.md"
@ -89,6 +91,8 @@ version = "2.0.*"
features = ["extra-traits", "parsing"]
[workspace.dependencies.quote]
version = "1.0.*"
[workspace.dependencies.proc-macro2]
version = "1.0.*"
[workspace.dependencies.trybuild]
version = "1.0.*"
@ -114,6 +118,8 @@ lm35 = []
pid = []
stm32 = []
[dependencies.generate-quantity]
path = "generate-quantity"
[dependencies.num-traits]
workspace = true
[dependencies.derive_more]