From c07c582eccde331f1ac317f1c33366cc9b46f5d8 Mon Sep 17 00:00:00 2001 From: Tomas Kukosa Date: Thu, 12 Oct 2023 17:45:08 +0200 Subject: [PATCH] Dependencies updated and edition set to 2021 --- .gitignore | 3 ++- Cargo.toml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index b66f9d5..eb005fd 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ Cargo.lock **/*.rs.bk # IntelliJ Rust -*.iml \ No newline at end of file +*.iml +/.idea diff --git a/Cargo.toml b/Cargo.toml index cb8cd27..2f8b639 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lis2dh12" -version = "0.6.8" +version = "0.6.9" authors = ["Tomas Kukosa "] repository = "https://github.com/tkeksa/lis2dh12" documentation = "https://docs.rs/lis2dh12" @@ -9,7 +9,7 @@ description = "Platform-agnostic Rust driver for the LIS2DH12 accelerometer." readme = "README.md" keywords = ["accelerometer", "sensor", "i2c", "driver", "embedded-hal-driver"] categories = ["embedded", "hardware-support", "no-std"] -edition = "2018" +edition = "2021" exclude = [ ".github", @@ -26,8 +26,8 @@ out_f32 = ["num-traits", "num-derive"] accelerometer = "0.12.0" embedded-hal = "0.2.7" cast = {version = "0.3.0", default-features = false } -num-traits = { version = "0.2.15", optional = true, default-features = false } -num-derive = { version = "0.3.3", optional = true } +num-traits = { version = "0.2.17", optional = true, default-features = false } +num-derive = { version = "0.4.1", optional = true } [dev-dependencies] embedded-hal-mock = "0.9.0"