diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c2a1272b..c7a80c792 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: # All published crates must build on stable. - rust: [stable, beta, 1.63.0] + rust: [stable, beta, 1.69.0] # The default target we're compiling on and for. TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl] diff --git a/CHANGELOG.md b/CHANGELOG.md index 227900221..507d78bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,16 @@ ## Not yet released -[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.6.0...HEAD) +[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.7.0...HEAD) + +## 0.7.0 / 2025-03-04 + +[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.6.0...0.7.0) - Added support for querying the configuration of a SPI device. -- Minimum Supported Rust Version is now 1.63.0 +- `nix` updated to 0.29 +- `bitflags` updated to 2.9 +- Minimum Supported Rust Version is now 1.69.0 ## 0.6.0 / 2023-08-03 diff --git a/Cargo.toml b/Cargo.toml index c055157c9..a56adba28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "spidev" -version = "0.6.0" +version = "0.7.0" authors = [ "Paul Osborne ", "The Embedded Linux Team " @@ -17,9 +17,9 @@ Provides access to the Linux spidev interface. This interface allows for configuration of the spidev device, half-duplex SPI access, and full-duplex SPI access. """ -rust-version = "1.63" +rust-version = "1.69" [dependencies] libc = "0.2" -bitflags = "2.3" -nix = "0.26.2" +bitflags = "2.9" +nix = { version = "0.29", features = ["ioctl"] } diff --git a/LICENSE-MIT b/LICENSE-MIT index e320efc2d..b1a4cc107 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright (c) 2015 Paul Osborne -Copyright (c) 2021-2023 The Rust Embedded Linux Team and contributors. +Copyright (c) 2021-2025 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 documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 5cbe1beb1..ebefb1e12 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Build Status](https://github.com/rust-embedded/rust-spidev/workflows/CI/badge.svg)](https://github.com/rust-embedded/rust-spidev/actions) [![Version](https://img.shields.io/crates/v/spidev.svg)](https://crates.io/crates/spidev) [![License](https://img.shields.io/crates/l/spidev.svg)](https://github.com/rust-embedded/rust-spidev/blob/master/README.md#license) -![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.63.0+-blue.svg) +![Minimum Supported Rust Version](https://img.shields.io/badge/rustc-1.69.0+-blue.svg) [Documentation](https://docs.rs/spidev) @@ -73,11 +73,11 @@ The following features are implemented and planned for the library: - [x] Implement the Write trait - [x] Support for full-duplex transfers - [x] Support for configuring spidev device -- [ ] Support for querying spidev configuration state +- [x] Support for querying spidev configuration state ## Minimum Supported Rust Version (MSRV) -This crate is guaranteed to compile on stable Rust 1.63.0 and up. It *might* +This crate is guaranteed to compile on stable Rust 1.69.0 and up. It *might* compile with older versions but that may change in any new patch release. ## Cross Compiling