From 19c7ff1a381c3a07931f5c4b5cf0d4830830b53c Mon Sep 17 00:00:00 2001 From: Boris Vinogradov Date: Tue, 13 May 2025 12:00:16 +0200 Subject: [PATCH] Minor fixes to Cargo.toml --- Cargo.toml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 429ab5e..9e07305 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,13 +3,14 @@ authors = ["Vitaly Domnikov "] categories = ["embedded", "hardware-support", "no-std"] description = "Peripheral access API for STM32C0 series microcontrollers" documentation = "https://docs.rs/stm32c0xx-hal" -edition = "2018" +edition = "2021" keywords = ["arm", "cortex-m", "stm32c0xx", "hal"] license = "MIT/Apache-2.0" name = "stm32c0xx-hal" readme = "README.md" repository = "https://github.com/stm32-rs/stm32c0xx-hal" version = "0.0.0" +rust-version = "1.65" [package.metadata.docs.rs] features = ["stm32c031", "rt"] @@ -29,7 +30,7 @@ version = "1.0.0" [dependencies.embedded-hal] features = ["unproven"] -version = "0.2.6" +version = "0.2.7" [dependencies.void] default-features = false @@ -37,7 +38,7 @@ version = "1.0.2" [dev-dependencies] cortex-m-rt = "0.7.1" -cortex-m-rtic = "1.0.0" +cortex-m-rtic = "1.1.3" cortex-m-semihosting = "0.3.7" panic-halt = "0.2.0" panic-semihosting = "0.5.6" @@ -53,10 +54,15 @@ i2c-blocking = [] i2c-nonblocking = [] [profile.dev] +codegen-units = 1 +debug = true incremental = false +lto = false +opt-level = 2 [profile.release] debug = false codegen-units = 1 incremental = false -lto = false +lto = true +opt-level = "z"