From 349dac55cde3ab540135ec983295779adf6e29a8 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 21 Nov 2024 09:30:41 +0100 Subject: [PATCH 1/6] Update README after #42 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cbe1beb1..7a4c94506 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ 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) From adfecfbb2b6ca8045b2b095ff344e7433a0e721f Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 21 Nov 2024 09:30:57 +0100 Subject: [PATCH 2/6] Update nix dependency --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c055157c9..e475e9960 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,4 +22,4 @@ rust-version = "1.63" [dependencies] libc = "0.2" bitflags = "2.3" -nix = "0.26.2" +nix = "0.26.4" From 5b557a2725c6432fe416034cf515ea044977d0b5 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 4 Mar 2025 09:44:20 +0100 Subject: [PATCH 3/6] Prepare 0.6.1 release --- CHANGELOG.md | 6 +++++- Cargo.toml | 2 +- LICENSE-MIT | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 227900221..005baefa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,11 @@ ## 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.6.1...HEAD) + +## 0.6.1 / 2025-03-04 + +[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.6.0...0.6.1) - Added support for querying the configuration of a SPI device. - Minimum Supported Rust Version is now 1.63.0 diff --git a/Cargo.toml b/Cargo.toml index e475e9960..355e840ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "spidev" -version = "0.6.0" +version = "0.6.1" authors = [ "Paul Osborne ", "The Embedded Linux Team " 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 From 15d438638dd73ce8bab4f4b77c29f06d77de5cb5 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 4 Mar 2025 09:50:16 +0100 Subject: [PATCH 4/6] Update dependencies and MSRV to 1.69.0 --- CHANGELOG.md | 4 +++- Cargo.toml | 6 +++--- README.md | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 005baefa6..fd9638f57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,9 @@ [Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.6.0...0.6.1) - 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 355e840ff..9ee546be9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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.4" +bitflags = "2.9" +nix = { version = "0.29", features = ["ioctl"] } diff --git a/README.md b/README.md index 7a4c94506..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) @@ -77,7 +77,7 @@ The following features are implemented and planned for the library: ## 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 From 28d821a4d41c104b99ad6396eaf74474ac58f4cd Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 4 Mar 2025 09:50:29 +0100 Subject: [PATCH 5/6] Prepare 0.7.0 release --- CHANGELOG.md | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd9638f57..507d78bef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,11 @@ ## Not yet released -[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.6.1...HEAD) +[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.7.0...HEAD) -## 0.6.1 / 2025-03-04 +## 0.7.0 / 2025-03-04 -[Full Changelog](https://github.com/rust-embedded/rust-spidev/compare/0.6.0...0.6.1) +[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. - `nix` updated to 0.29 diff --git a/Cargo.toml b/Cargo.toml index 9ee546be9..a56adba28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "spidev" -version = "0.6.1" +version = "0.7.0" authors = [ "Paul Osborne ", "The Embedded Linux Team " From eafc5dd2c4ef151f5278bc910c0d3f2036e2cc25 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 4 Mar 2025 10:10:47 +0100 Subject: [PATCH 6/6] Update MSRV in CI --- .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 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]