From c5e9e954edaafdb1d098471f9196a24d9df4d785 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Fri, 13 Aug 2021 19:10:25 -0600 Subject: [PATCH] Lock bitflags to < 1.3.0 to fix the build with rust < 1.46.0 Issue #1491 --- CHANGELOG.md | 3 +++ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21cb4b85a2..0b38ab0dc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Added ### Changed ### Fixed + +- Locked bitflags to < 1.3.0 to fix the build with rust < 1.46.0. + ### Removed ## [0.22.0] - 9 July 2021 diff --git a/Cargo.toml b/Cargo.toml index c5cdd0828a..2be02734cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ targets = [ [dependencies] libc = { version = "0.2.98", features = [ "extra_traits" ] } -bitflags = "1.1" +bitflags = ">= 1.1.0, < 1.3.0" cfg-if = "1.0" [target.'cfg(not(target_os = "redox"))'.dependencies]