From 2469419a8964dc1109415a9f5350569b110e2a96 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Mon, 8 Jan 2018 08:26:49 +0100 Subject: [PATCH 1/2] Fix compatibility with Rust <1.23 --- src/write.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/write.rs b/src/write.rs index ce3bae54..e46ac03f 100644 --- a/src/write.rs +++ b/src/write.rs @@ -19,6 +19,8 @@ use msdos_time::TmMsDosExt; use bzip2; #[cfg(feature = "bzip2")] use bzip2::write::BzEncoder; +#[allow(unused_imports)] // Rust <1.23 compat +use std::ascii::AsciiExt; enum GenericZipWriter { From 3f7409e4a8cf49ea4ac9dafe2d7c2f5669008b65 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Mon, 8 Jan 2018 08:31:53 +0100 Subject: [PATCH 2/2] Add lowest working Rust version to Travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 218d7f9c..85769bd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: rust rust: - stable + - 1.20.0 sudo: false