diff --git a/CHANGELOG.md b/CHANGELOG.md index b71da4ba..a6a363cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,11 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Updated nix to allow both version `0.22` or `0.23`. -- Add PEC support for SMBus compatible adapters + +## [v0.5.1] - 2021-11-22 + +- Updated nix to version `0.23`. +- Add PEC support for SMBus compatible adapters. - Add `LinuxI2CDevice::force_new()` to open the device without checking if the address is bound to a driver. ## [v0.5.0] - 2021-09-21 @@ -22,6 +25,6 @@ Versioning](https://semver.org/spec/v2.0.0.html). The changelog for previous versions was not recorded. -[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...HEAD +[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.1...HEAD +[v0.5.1]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...0.5.1 [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 74406819..0a1f792e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "i2cdev" -version = "0.5.0" # remember to update html_root_url +version = "0.5.1" authors = ["Paul Osborne "] license = "MIT/Apache-2.0" repository = "https://github.com/rust-embedded/rust-i2cdev" @@ -18,8 +18,7 @@ Provides API for safe access to Linux i2c device interface. libc = "0.2" bitflags = "1.3" byteorder = "1" -nix = ">= 0.22, < 0.24" +nix = "0.23" [dev-dependencies] docopt = "1" - diff --git a/src/lib.rs b/src/lib.rs index a97bf3d1..e845e0df 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,7 +97,6 @@ #![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;