From d2cf9299c50d59f84edaae03eca7b57969eb20f5 Mon Sep 17 00:00:00 2001 From: Kevin Mehall Date: Thu, 21 Nov 2019 14:40:39 -0800 Subject: [PATCH 1/2] Bump minimum Rust version to 1.34.2 Tests have been failing for a while due to lack of support for 1.28 in rayon and its dependencies. This bumps the minimum version to 1.34 to match the `image` crate. --- .travis.yml | 2 +- src/marker.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 013aec62..8fc351be 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: rust rust: - - 1.28.0 + - 1.34.2 - stable - beta - nightly diff --git a/src/marker.rs b/src/marker.rs index f5d2b197..f7b93f83 100644 --- a/src/marker.rs +++ b/src/marker.rs @@ -132,7 +132,6 @@ impl Marker { 0xFD => Some(JPGn(13)), 0xFE => Some(COM), 0xFF => None, // Fill byte - _ => unreachable!(), } } } From 7fa5242ee2e51771af90f75035fead49c99fd259 Mon Sep 17 00:00:00 2001 From: Kevin Mehall Date: Sat, 23 Nov 2019 10:04:32 -0800 Subject: [PATCH 2/2] Update minimum Rust version to 1.34 in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 485e015e..83b17ce3 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,4 @@ fn main() { ``` ## Requirements -This crate compiles only with rust >= 1.28. \ No newline at end of file +This crate compiles only with rust >= 1.34.