Add a paragraph to readme/lib.rs re: MSRV

This commit is contained in:
Ivan Smirnov 2022-01-04 14:52:45 +03:00
parent 72c9128c61
commit 2999dc5a50
3 changed files with 11 additions and 0 deletions

View file

@ -14,6 +14,7 @@ keywords = ["qoi", "graphics", "image", "encoding"]
exclude = [ exclude = [
"assets/*", "assets/*",
] ]
rust-version = "1.51.0"
[features] [features]
default = ["std"] default = ["std"]

View file

@ -46,6 +46,11 @@ Benchmarks have also been run for all of the other Rust implementations
of QOI for comparison purposes and, at the time of writing this document, of QOI for comparison purposes and, at the time of writing this document,
this library proved to be the fastest one by a noticeable margin. this library proved to be the fastest one by a noticeable margin.
### Rust version
The minimum required Rust version is 1.51.0 (any changes to this would be
considered to be a breaking change).
### `no_std` ### `no_std`
This crate supports `no_std` mode. By default, std is enabled via the `std` This crate supports `no_std` mode. By default, std is enabled via the `std`

View file

@ -37,6 +37,11 @@
//! of QOI for comparison purposes and, at the time of writing this document, //! of QOI for comparison purposes and, at the time of writing this document,
//! this library proved to be the fastest one by a noticeable margin. //! this library proved to be the fastest one by a noticeable margin.
//! //!
//! ### Rust version
//!
//! The minimum required Rust version is 1.51.0 (any changes to this would be
//! considered to be a breaking change).
//!
//! ### `no_std` //! ### `no_std`
//! //!
//! This crate supports `no_std` mode. By default, std is enabled via the `std` //! This crate supports `no_std` mode. By default, std is enabled via the `std`