diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6f1711..403ad1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,12 @@ on: push: + branches: + - main + tags: + - '*' pull_request: schedule: - - cron: "13 3 * * *" + - cron: "41 3 * * *" name: CI @@ -86,9 +90,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: stable - - run: cargo install cargo-deadlinks - - run: cargo doc - - run: cargo deadlinks + - run: RUSTDOCFLAGS="-D warnings" cargo doc format_check: name: Rust Format diff --git a/CHANGELOG.md b/CHANGELOG.md index be2d585..24944d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ 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). +## [0.29.0] - 2021-05-29 +### Added +- Added a `device_type` function to work around a bug in native `device_info` + function. +- Added `wait_on_io_high` and `wait_on_io_low` MPSSE commands. + +### Changed +- Changed the `TryFrom` trait implementations to use the new `device_type` + function instead of `device_info`. + ## [0.28.0] - 2021-04-03 ### Added - Added support for the FT2232H. @@ -104,7 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Prior releases A changelog was not kept for prior releases. -[Unreleased]: https://github.com/newAM/libftd2xx-rs/compare/0.28.0...HEAD +[Unreleased]: https://github.com/newAM/libftd2xx-rs/compare/0.29.0...HEAD +[0.29.0]: https://github.com/newAM/libftd2xx-rs/compare/0.28.0...0.29.0 [0.28.0]: https://github.com/newAM/libftd2xx-rs/compare/0.27.0...0.28.0 [0.27.0]: https://github.com/newAM/libftd2xx-rs/compare/0.26.0...0.27.0 [0.26.0]: https://github.com/newAM/libftd2xx-rs/compare/0.25.1...0.26.0 diff --git a/Cargo.toml b/Cargo.toml index a38b592..b692920 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libftd2xx" -version = "0.28.0" # remember to update html_root_url +version = "0.29.0" # remember to update html_root_url authors = ["Alex M. "] edition = "2018" description = "Rust safe wrapper around the libftd2xx-ffi crate." diff --git a/README.md b/README.md index 70b93db..5763b65 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Simply add this crate as a dependency in your `Cargo.toml`. ```toml [dependencies.libftd2xx] -version = "~0.28.0" +version = "~0.29.0" # statically link the vendor library, defaults to dynamic if not set # this will make things "just work" on Linux # not recommended on Windows due to legacy library requirements diff --git a/src/lib.rs b/src/lib.rs index 026ebbb..acc2614 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,7 +8,7 @@ //! //! ```toml //! [dependencies.libftd2xx] -//! version = "~0.28.0" +//! version = "~0.29.0" //! # statically link the vendor library, defaults to dynamic if not set //! # this will make things "just work" on Linux //! # not recommended on Windows due to legacy library requirements @@ -99,7 +99,7 @@ //! [`ftd2xx-embedded-hal`]: https://crates.io/crates/ftd2xx-embedded-hal //! [`embedded-hal`]: https://crates.io/crates/embedded-hal #![cfg_attr(docsrs, feature(doc_cfg))] -#![doc(html_root_url = "https://docs.rs/libftd2xx/0.28.0")] +#![doc(html_root_url = "https://docs.rs/libftd2xx/0.29.0")] #![deny(missing_docs)] mod errors;