Skip to content

Commit 1e4430c

Browse files
authored
Merge pull request #207 from fitzgen/document-msrv-policy
Formalize and document the MSRV policy
2 parents 9281476 + 665c867 commit 1e4430c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ description = "The trait for generating structured data from unstructured data"
1717
license = "MIT OR Apache-2.0"
1818
repository = "https://github.com/rust-fuzz/arbitrary/"
1919
documentation = "https://docs.rs/arbitrary/"
20-
rust-version = "1.63.0"
20+
rust-version = "1.63.0" # Keep in sync with version documented in the README.md
2121

2222
[dependencies]
2323
derive_arbitrary = { version = "1.4.0", path = "./derive", optional = true }

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@ impl<'a> Arbitrary<'a> for Rgb {
120120
}
121121
```
122122

123+
## Minimum Supported Rust Version (MSRV)
124+
125+
<!-- NB: Keep this number in sync with the `rust-version` in `Cargo.toml`. -->
126+
127+
This crate is guaranteed to compile on stable Rust **1.63.0** and up. It might
128+
compile with older versions but that may change in any new patch release.
129+
130+
We reserve the right to increment the MSRV on minor releases, however we will
131+
strive to only do it deliberately and for good reasons.
132+
123133
## License
124134

125135
Licensed under dual MIT or Apache-2.0 at your choice.

0 commit comments

Comments
 (0)