diff --git a/Cargo.toml b/Cargo.toml index 6a5ebe3..ee7be95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ keywords = ["qoi", "graphics", "image", "encoding"] exclude = [ "assets/*", ] +rust-version = "1.51.0" [features] default = ["std"] diff --git a/README.md b/README.md index 9e4fe39..271561c 100644 --- a/README.md +++ b/README.md @@ -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, 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` This crate supports `no_std` mode. By default, std is enabled via the `std` diff --git a/src/lib.rs b/src/lib.rs index 2684163..0df079d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,6 +37,11 @@ //! 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. //! +//! ### 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` //! //! This crate supports `no_std` mode. By default, std is enabled via the `std`