From 4abef5b6c26be036b2b3d47470588c4012130bdc Mon Sep 17 00:00:00 2001 From: Finomnis Date: Sun, 23 Jun 2024 14:54:21 +0200 Subject: [PATCH] Ensure proper dependency versions. - 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. --- Cargo.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 011eb672..5f231c6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ version = "0.5.5" version = "1.0" [dependencies.bitflags] -version = "1.2" +version = "1.3" [dependencies.fugit] version = "0.3" @@ -39,7 +39,7 @@ features = ["async-await"] [dependencies.eh02] package = "embedded-hal" -version = "0.2" +version = "0.2.6" [dependencies.eh1] package = "embedded-hal" @@ -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 #######################