From 1d0fa643201baf5539689f14caf17161a4ed2466 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 10 Jan 2024 10:01:45 +0100 Subject: [PATCH 1/3] Update copyright --- LICENSE-MIT | 1 + 1 file changed, 1 insertion(+) diff --git a/LICENSE-MIT b/LICENSE-MIT index 432fbea..bc8e989 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,4 +1,5 @@ Copyright (c) 2018 Jorge Aparicio +Copyright (c) 2019-2024 The Rust embedded linux team and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated From 62dfd1b2d98a1b5cad0b298f9de617019ca5b78c Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 10 Jan 2024 10:02:03 +0100 Subject: [PATCH 2/3] Prepare 0.4.0 release --- CHANGELOG.md | 5 ++++- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 259ed9d..a8d0219 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [v0.4.0] - 2024-01-10 + ### Changed - 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)) - 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/). Initial release -[Unreleased]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.4...HEAD +[Unreleased]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0...HEAD +[v0.4.0]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.4...v0.4.0 [v0.4.0-alpha.4]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.3...v0.4.0-alpha.4 [v0.4.0-alpha.3]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.2...v0.4.0-alpha.3 [v0.4.0-alpha.2]: https://github.com/rust-embedded/linux-embedded-hal/compare/v0.4.0-alpha.1...v0.4.0-alpha.2 diff --git a/Cargo.toml b/Cargo.toml index 3c28665..ea35bed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ keywords = ["Linux", "hal"] license = "MIT OR Apache-2.0" name = "linux-embedded-hal" repository = "https://github.com/rust-embedded/linux-embedded-hal" -version = "0.4.0-alpha.4" +version = "0.4.0" edition = "2018" [features] From bf4e3fb5b4b8b9f64b1eb4462e571020f185b127 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 10 Jan 2024 11:40:07 +0100 Subject: [PATCH 3/3] Update Readme --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 03d5d98..eb18827 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,6 @@ This project is developed and maintained by the [Embedded Linux team][team]. ## [Documentation](https://docs.rs/linux-embedded-hal) -Note that current `v0.4.0-alpha.X` releases track the unstable ['embedded-hal'] `v1.0.0-alpha.Y`. -For bugfixes or backports please open PRs against the `v0.3.x` branch. - ## GPIO character device 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 To enable it update your Cargo.toml. Please note that in order to prevent `LineHandle` fd from closing you should assign to a variable, see [cdev issue](https://github.com/rust-embedded/gpio-cdev/issues/29) for more details. ``` -linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] } +linux-embedded-hal = { version = "0.4", features = ["gpio_cdev"] } ``` `SysfsPin` can be still used with feature flag `gpio_sysfs`.