Skip to content

Commit e50b26d

Browse files
authored
Merge pull request #108 from eldruin/0.4.0-release
Prepare 0.4.0 release
2 parents df9bc7f + bf4e3fb commit e50b26d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.4.0] - 2024-01-10
11+
1012
### Changed
1113
- Updated to `embedded-hal` `1.0.0` release ([API changes](https://github.com/rust-embedded/embedded-hal/blob/master/embedded-hal/CHANGELOG.md#v100---2023-12-28))
1214
- Updated to `embedded-hal-nb` `1.0.0` release ([API changes](https://github.com/rust-embedded/embedded-hal/blob/master/embedded-hal-nb/CHANGELOG.md#v100---2023-12-28))
@@ -150,7 +152,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
150152

151153
Initial release
152154

153-
[Unreleased]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.4...HEAD
155+
[Unreleased]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0...HEAD
156+
[v0.4.0]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.4...v0.4.0
154157
[v0.4.0-alpha.4]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.3...v0.4.0-alpha.4
155158
[v0.4.0-alpha.3]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.2...v0.4.0-alpha.3
156159
[v0.4.0-alpha.2]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.1...v0.4.0-alpha.2

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ keywords = ["Linux", "hal"]
99
license = "MIT OR Apache-2.0"
1010
name = "linux-embedded-hal"
1111
repository = "https://github.com/rust-embedded/linux-embedded-hal"
12-
version = "0.4.0-alpha.4"
12+
version = "0.4.0"
1313
edition = "2018"
1414

1515
[features]

LICENSE-MIT

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Copyright (c) 2018 Jorge Aparicio
2+
Copyright (c) 2019-2024 The Rust embedded linux team and contributors.
23

34
Permission is hereby granted, free of charge, to any
45
person obtaining a copy of this software and associated

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ This project is developed and maintained by the [Embedded Linux team][team].
1313

1414
## [Documentation](https://docs.rs/linux-embedded-hal)
1515

16-
Note that current `v0.4.0-alpha.X` releases track the unstable ['embedded-hal'] `v1.0.0-alpha.Y`.
17-
For bugfixes or backports please open PRs against the `v0.3.x` branch.
18-
1916
## GPIO character device
2017

2118
Since Linux kernel v4.4 the use of sysfs GPIO was deprecated and replaced by the character device GPIO.
@@ -25,7 +22,7 @@ This crate includes feature flag `gpio_cdev` that exposes `CdevPin` as wrapper a
2522
To enable it update your Cargo.toml. Please note that in order to prevent `LineHandle` fd from closing you should
2623
assign to a variable, see [cdev issue](https://github.com/rust-embedded/gpio-cdev/issues/29) for more details.
2724
```
28-
linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] }
25+
linux-embedded-hal = { version = "0.4", features = ["gpio_cdev"] }
2926
```
3027

3128
`SysfsPin` can be still used with feature flag `gpio_sysfs`.

0 commit comments

Comments
 (0)