Skip to content

Commit 19c7ff1

Browse files
committed
Minor fixes to Cargo.toml
1 parent ac492c1 commit 19c7ff1

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Cargo.toml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ authors = ["Vitaly Domnikov <[email protected]>"]
33
categories = ["embedded", "hardware-support", "no-std"]
44
description = "Peripheral access API for STM32C0 series microcontrollers"
55
documentation = "https://docs.rs/stm32c0xx-hal"
6-
edition = "2018"
6+
edition = "2021"
77
keywords = ["arm", "cortex-m", "stm32c0xx", "hal"]
88
license = "MIT/Apache-2.0"
99
name = "stm32c0xx-hal"
1010
readme = "README.md"
1111
repository = "https://github.com/stm32-rs/stm32c0xx-hal"
1212
version = "0.0.0"
13+
rust-version = "1.65"
1314

1415
[package.metadata.docs.rs]
1516
features = ["stm32c031", "rt"]
@@ -29,15 +30,15 @@ version = "1.0.0"
2930

3031
[dependencies.embedded-hal]
3132
features = ["unproven"]
32-
version = "0.2.6"
33+
version = "0.2.7"
3334

3435
[dependencies.void]
3536
default-features = false
3637
version = "1.0.2"
3738

3839
[dev-dependencies]
3940
cortex-m-rt = "0.7.1"
40-
cortex-m-rtic = "1.0.0"
41+
cortex-m-rtic = "1.1.3"
4142
cortex-m-semihosting = "0.3.7"
4243
panic-halt = "0.2.0"
4344
panic-semihosting = "0.5.6"
@@ -53,10 +54,15 @@ i2c-blocking = []
5354
i2c-nonblocking = []
5455

5556
[profile.dev]
57+
codegen-units = 1
58+
debug = true
5659
incremental = false
60+
lto = false
61+
opt-level = 2
5762

5863
[profile.release]
5964
debug = false
6065
codegen-units = 1
6166
incremental = false
62-
lto = false
67+
lto = true
68+
opt-level = "z"

0 commit comments

Comments
 (0)