From b3ca672f70c71194da40a7670549a8264c13d971 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 12 Jan 2024 20:24:51 +0100 Subject: Update to `embedded-hal` 1.0. --- Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 236f783..a88efc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,18 +18,18 @@ include = [ "/LICENSE-MIT", "/LICENSE-APACHE", ] -edition = "2018" +edition = "2021" [badges] coveralls = { repository = "eldruin/ads1x1x-rs", branch = "master", service = "github" } [dependencies] nb = "1" -embedded-hal = { version = "0.2.2", features = ["unproven"] } +embedded-hal = "1" [dev-dependencies] -linux-embedded-hal = "0.3" -embedded-hal-mock = "0.7" +embedded-hal-mock = { version = "0.10", default-features = false, features = ["eh1"] } +linux-embedded-hal = "0.4" [profile.release] lto = true -- cgit v1.2.3-54-g00ecf