diff --git a/Cargo.toml b/Cargo.toml index d84d7cb..9c72e38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace.package] -version = "0.3.1" +version = "0.3.2" description = "Very simple coordinate frame conversions" authors = ["Markus Mayer "] categories = ["no-std", "no-std::no-alloc"] diff --git a/crates/coordinate-frame/Cargo.toml b/crates/coordinate-frame/Cargo.toml index 50bc41f..6624c27 100644 --- a/crates/coordinate-frame/Cargo.toml +++ b/crates/coordinate-frame/Cargo.toml @@ -14,12 +14,12 @@ readme = "../../README.md" [features] std = [] num-traits = ["dep:num-traits"] -defmt = ["dep:defmt"] -micromath = ["dep:micromath"] -nalgebra = ["dep:nalgebra"] +defmt = ["dep:defmt", "coordinate-frame-derive/defmt"] +micromath = ["dep:micromath", "coordinate-frame-derive/micromath"] +nalgebra = ["dep:nalgebra", "coordinate-frame-derive/nalgebra"] [dependencies] -coordinate-frame-derive = { version = "0.3.1", path = "../../proc-macros/coordinate-frame-derive" } +coordinate-frame-derive = { version = "0.3.2", path = "../../proc-macros/coordinate-frame-derive" } defmt = { version = "0.3.8", optional = true } micromath = { version = "2.1.0", optional = true, features = ["vector"] } nalgebra = { version = ">=0.30.0,<1.0.0", optional = true, default-features = false } diff --git a/proc-macros/coordinate-frame-derive/Cargo.toml b/proc-macros/coordinate-frame-derive/Cargo.toml index 72be0cd..d22f29d 100644 --- a/proc-macros/coordinate-frame-derive/Cargo.toml +++ b/proc-macros/coordinate-frame-derive/Cargo.toml @@ -16,6 +16,9 @@ proc-macro = true [features] std = [] +micromath = [] +nalgebra = [] +defmt = [] [dependencies] quote = "1.0.36"