Skip to content

Commit c672829

Browse files
authored
Release 0.10.0 (#216)
* Release v0.10.0 * Add @jamwaffles to crate authors * Fix clippy lints breaking CI Unable to reproduce locally on 1.56.0 but if it makes clippy happy why not...
1 parent 73a7587 commit c672829

File tree

5 files changed

+22
-8
lines changed

5 files changed

+22
-8
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ forget to update the links at the bottom of the changelog as well.-->
1515

1616
### Breaking Changes
1717

18+
### Non-Breaking Changes
19+
20+
### Fixes
21+
22+
### Documentation
23+
24+
## [v0.10.0] - 2022-08-15
25+
26+
### Additions
27+
28+
### Breaking Changes
29+
1830
- Upgrade `stm32l0` to latest version, and other dependency updates ([#215]):
1931

2032
`dependencies`
@@ -210,6 +222,7 @@ _Not yet tracked in this changelog._
210222
<!-- Links to version diffs. -->
211223

212224
[unreleased]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.9.0...HEAD
225+
[v0.10.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.9.0...v0.10.0
213226
[v0.9.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.8.0...v0.9.0
214227
[v0.8.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.7.0...v0.8.0
215228
[v0.7.0]: https://github.com/stm32-rs/stm32l0xx-hal/compare/v0.6.2...v0.7.0

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ authors = [
44
"Arko <arko2600@gmail.com>",
55
"Hanno Braun <hanno@braun-odw.eu>",
66
"Danilo Bargen <mail@dbrgn.ch>",
7+
"James Waples <james@wapl.es>",
78
]
89
categories = ["embedded", "hardware-support", "no-std"]
910
description = "Peripheral access API for STM32L0 series microcontrollers"
@@ -14,7 +15,7 @@ license = "0BSD"
1415
name = "stm32l0xx-hal"
1516
readme = "README.md"
1617
repository = "https://github.com/stm32-rs/stm32l0xx-hal"
17-
version = "0.9.0"
18+
version = "0.10.0"
1819

1920
[package.metadata.docs.rs]
2021
features = ["mcu-STM32L071KBTx", "rt", "stm32-usbd", "rtc"]

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For example, when using the STM32L071KBTx MCU:
3131

3232
```toml
3333
[dependencies]
34-
stm32l0xx-hal = { version = "0.9.0", features = ["mcu-STM32L071KBTx", "rt"] }
34+
stm32l0xx-hal = { version = "0.10.0", features = ["mcu-STM32L071KBTx", "rt"] }
3535
```
3636

3737

@@ -55,7 +55,7 @@ feature. For example, when using the STM32L071KBTx MCU, you just set the
5555
```toml
5656
# Cargo.toml
5757
[dependencies]
58-
stm32l0xx-hal = { version = "0.9.0", features = ["mcu-STM32L071KBTx", "rt"] }
58+
stm32l0xx-hal = { version = "0.10.0", features = ["mcu-STM32L071KBTx", "rt"] }
5959
```
6060

6161
If you take a look at the [`Cargo.toml`
@@ -129,7 +129,7 @@ And finally add the `disable-linker-script` feature to your `stm32l0xx-hal` depe
129129
```toml
130130
# Cargo.toml
131131
[dependencies]
132-
stm32l0xx-hal = { version = "0.9.0", features = ["mcu-STM32L071K8Ux", "disable-linker-script"] }
132+
stm32l0xx-hal = { version = "0.10.0", features = ["mcu-STM32L071K8Ux", "disable-linker-script"] }
133133
```
134134

135135
# Other Cargo Features

src/adc.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ impl AdcExt for ADC {
2828
}
2929

3030
/// ADC Result Alignment
31-
#[derive(PartialEq)]
31+
#[derive(Eq, PartialEq)]
3232
pub enum Align {
3333
/// Right aligned results (least significant bits)
3434
///
@@ -44,7 +44,7 @@ pub enum Align {
4444
}
4545

4646
/// ADC Sampling Precision
47-
#[derive(Copy, Clone, PartialEq)]
47+
#[derive(Copy, Clone, Eq, PartialEq)]
4848
pub enum Precision {
4949
/// 12 bit precision
5050
B_12 = 0b00,
@@ -57,7 +57,7 @@ pub enum Precision {
5757
}
5858

5959
/// ADC Sampling time
60-
#[derive(Copy, Clone, PartialEq)]
60+
#[derive(Copy, Clone, Eq, PartialEq)]
6161
pub enum SampleTime {
6262
/// 1.5 ADC clock cycles
6363
T_1_5 = 0b000,

src/rtc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use crate::{
4040
pub use rtcc::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, Timelike};
4141

4242
/// Errors that can occur when dealing with the RTC.
43-
#[derive(Debug, PartialEq)]
43+
#[derive(Debug, Eq, PartialEq)]
4444
pub enum Error {
4545
/// Invalid input data was used (e.g. a year outside the 2000-2099 range).
4646
InvalidInputData,

0 commit comments

Comments
 (0)