Skip to content

Commit eef0e01

Browse files
committed
Document MSRV
1 parent 646b0ea commit eef0e01

File tree

7 files changed

+17
-2
lines changed

7 files changed

+17
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
strategy:
2929
matrix:
30-
toolchain: [stable, beta, nightly]
30+
toolchain: ['1.83', stable, beta, nightly]
3131

3232
steps:
3333
- uses: actions/checkout@v3

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ version = "0.4.0"
1313
authors = ["Ross MacArthur <ross@macarthur.io>"]
1414
edition = "2021"
1515
readme = "README.md"
16+
rust-version = "1.83"
1617
repository = "https://github.com/rossmacarthur/vectrix"
1718
license = "MIT OR Apache-2.0"
1819

@@ -26,6 +27,7 @@ include = ["benches/**/*", "src/**/*", "LICENSE-*", "README.md"]
2627
version.workspace = true
2728
authors.workspace = true
2829
edition.workspace = true
30+
rust-version.workspace = true
2931
readme.workspace = true
3032
repository.workspace = true
3133
license.workspace = true

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ cargo add vectrix
2525
cargo add vectrix --no-default-features --features=macro
2626
```
2727

28+
## 🦀 MSRV
29+
30+
This crate supports Rust 1.83 and above.
31+
2832
## 🤸 Usage
2933

3034
### Types

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.87"
1+
msrv = "1.83"

crates/macro/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description = "A macro for composing matrices"
55
version.workspace = true
66
authors.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89
readme.workspace = true
910
repository.workspace = true
1011
license.workspace = true

crates/stride/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
//! assert_eq!(stride, &[1, 3, 5]);
3838
//! assert_eq!(data, &[1, 2, 3, 4, 5, 6]);
3939
//! ```
40+
//!
41+
//! # 🦀 MSRV
42+
//!
43+
//! This crate supports Rust 1.83 and above.
4044
4145
#![no_std]
4246
#![warn(unsafe_op_in_unsafe_fn)]

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
//! cargo add vectrix --no-default-features --features=macro
1616
//! ```
1717
//!
18+
//! # 🦀 MSRV
19+
//!
20+
//! This crate supports Rust 1.83 and above.
21+
//!
1822
//! # 🤸 Usage
1923
//!
2024
//! ## Types

0 commit comments

Comments
 (0)