Skip to content

Commit a431e70

Browse files
authored
Merge pull request #10 from nisembedded/actualize_p2
Minor fixes to Cargo.toml
2 parents 20d1c4f + 19c7ff1 commit a431e70

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"
@@ -54,10 +55,15 @@ i2c-blocking = []
5455
i2c-nonblocking = []
5556

5657
[profile.dev]
58+
codegen-units = 1
59+
debug = true
5760
incremental = false
61+
lto = false
62+
opt-level = 2
5863

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

0 commit comments

Comments
 (0)