Skip to content

Commit

Permalink
Add nalgebra version-specific feature
Browse files Browse the repository at this point in the history
  • Loading branch information
avsaase committed Oct 7, 2024
1 parent 08d5b36 commit 44d63d3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/postcard/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ optional = true
version = "1.0.12"
optional = true

[dependencies.nalgebra]
[dependencies.nalgebra-0_33]
package = "nalgebra"
version = "0.33.0"
optional = true
default-features = false
Expand All @@ -82,6 +83,9 @@ embedded-io = ["dep:embedded-io-04"]
embedded-io-04 = ["dep:embedded-io-04"]
embedded-io-06 = ["dep:embedded-io-06"]

# Specific versions of `nalgebra` can be selected through the features below
nalgebra-0_33 = ["dep:nalgebra-0_33"]

use-std = ["serde/std", "alloc"]
heapless-cas = ["heapless", "heapless/cas"]
alloc = ["serde/alloc", "embedded-io-04?/alloc", "embedded-io-06?/alloc"]
Expand Down

0 comments on commit 44d63d3

Please sign in to comment.