From 93dee050c8a3b87f1ad9c2c5fb70f55162ea9643 Mon Sep 17 00:00:00 2001 From: Lars Westermann Date: Fri, 27 Dec 2024 12:14:05 +0100 Subject: [PATCH] Bump version --- Cargo.toml | 10 ++++------ ev3dev_lang_rust_derive/Cargo.toml | 1 + src/sensors/compass_sensor.rs | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e2b3ea2..72cf4bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ev3dev-lang-rust" -version = "0.14.0" +version = "0.15.0" edition = "2021" authors = ["Lars Westermann "] @@ -22,16 +22,14 @@ brickpi = [] brickpi3 = [] [dependencies] -ev3dev-lang-rust-derive = { path = "ev3dev_lang_rust_derive", version="0.10" } +ev3dev-lang-rust-derive = { path = "ev3dev_lang_rust_derive", version = "0.10" } libc = "0.2" framebuffer = { version = "0.3", optional = true } -image = { version = "0.24", optional = true } +image = { version = "0.25", optional = true } paste = "1.0" [workspace] -members = [ - "ev3dev_lang_rust_derive" -] +members = ["ev3dev_lang_rust_derive"] [profile.release] lto = true diff --git a/ev3dev_lang_rust_derive/Cargo.toml b/ev3dev_lang_rust_derive/Cargo.toml index 64ed0fc..6384f4b 100644 --- a/ev3dev_lang_rust_derive/Cargo.toml +++ b/ev3dev_lang_rust_derive/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "ev3dev-lang-rust-derive" version = "0.10.0" +edition = "2021" authors = ["Lars Westermann "] description = "Derive macros for ev3dev_lang_rust" diff --git a/src/sensors/compass_sensor.rs b/src/sensors/compass_sensor.rs index f2f1c5f..4afe611 100644 --- a/src/sensors/compass_sensor.rs +++ b/src/sensors/compass_sensor.rs @@ -57,7 +57,7 @@ impl CompassSensor { /// turn the robot 360 degrees /// end the calibration by stop_calibration() /// attention: if calibration has not finished, the get_rotation method always returns -258 - + /// /// starts the calibration pub fn start_calibration(&self) -> Ev3Result<()> { self.set_command(Self::COMMAND_START_CALIBRATION)