From 28c911463d4414813ed339dd6d8c19dedad78ec2 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 20 Sep 2021 07:37:33 +0200 Subject: [PATCH 1/4] Restrict bitflags version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8a987b3c..0eaf9e10 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ Provides API for safe access to Linux i2c device interface. [dependencies] libc = "0.2" -bitflags = "1" +bitflags = "1.3" byteorder = "1" nix = "0.22" From b58380587da25a0bc275153effecd5fe70d69cb7 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 20 Sep 2021 07:46:20 +0200 Subject: [PATCH 2/4] Prepare 0.5.0 release and add changelog --- CHANGELOG.md | 23 +++++++++++++++++++++++ Cargo.toml | 2 +- src/lib.rs | 1 + 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..aacd86dc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,23 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic +Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [v0.5.0] - 2021-09-20 + +- Updated `nix` to version `0.22`. +- Updated `bitflags` to version `1.3`. +- Updated MSRV to version 1.46.0. + +## v0.4.4 - 2020-12-02 + +The changelog for previous versions was not recorded. + +[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...HEAD +[v0.5.0]: https://github.com/rust-embedded/rust-i2cdev/compare/0.4.0...0.5.0 + diff --git a/Cargo.toml b/Cargo.toml index 0eaf9e10..8df9f2fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "i2cdev" -version = "0.4.4" +version = "0.5.0" # remember to update html_root_url authors = ["Paul Osborne "] license = "MIT/Apache-2.0" repository = "https://github.com/rust-embedded/rust-i2cdev" diff --git a/src/lib.rs b/src/lib.rs index e845e0df..a97bf3d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,6 +97,7 @@ #![crate_name = "i2cdev"] #![crate_type = "lib"] #![deny(missing_docs)] +#![doc(html_root_url = "https://docs.rs/i2cdev/0.5.0")] #[macro_use] extern crate bitflags; From f236d72b2b3dbb7d7ae531bc1b32a4ff2524c560 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 20 Sep 2021 17:52:55 +0200 Subject: [PATCH 3/4] Rename CI job thus fixing badge image --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85f41199..3761b58f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ on: branches: [ staging, trying, master ] pull_request: -name: Continuous integration +name: CI jobs: ci-linux: From 984699c5fb662ecfc5b14fb94c29b2c43be6051a Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 21 Sep 2021 09:57:08 +0200 Subject: [PATCH 4/4] Update release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aacd86dc..aa90d537 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -## [v0.5.0] - 2021-09-20 +## [v0.5.0] - 2021-09-21 - Updated `nix` to version `0.22`. - Updated `bitflags` to version `1.3`.