Skip to content

Commit

Permalink
Ensure proper dependency versions.
Browse files Browse the repository at this point in the history
- This crate uses eh02::blocking::i2c::Operation, which only exists for
  embedded-hal 0.2.6 and upwards.
- This crate uses .complement() which only exists in bitflags 1.3 and
  upwards.
- We use trailing commas, available in the 0.1.3 ral-registers release.
  • Loading branch information
Finomnis authored and mciantyre committed Jun 24, 2024
1 parent 2629c35 commit 4abef5b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ version = "0.5.5"
version = "1.0"

[dependencies.bitflags]
version = "1.2"
version = "1.3"

[dependencies.fugit]
version = "0.3"
Expand All @@ -39,7 +39,7 @@ features = ["async-await"]

[dependencies.eh02]
package = "embedded-hal"
version = "0.2"
version = "0.2.6"

[dependencies.eh1]
package = "embedded-hal"
Expand All @@ -54,6 +54,12 @@ version = "0.5"
default-features = false
optional = true

# This is an indirect dependency through imxrt-ral;
# imxrt-ral depends on `ral-registers 0.1.0`,
# but we are using newer features.
[dependencies.ral-registers]
version = "0.1.3"

#######################
# imxrt-rs dependencies
#######################
Expand Down

0 comments on commit 4abef5b

Please sign in to comment.