diff --git a/.travis.yml b/.travis.yml index 350a0884..0fee9778 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: packages: *i686_packages - env: TARGET=i686-unknown-linux-gnu os: linux - rust: 1.24.1 + rust: 1.28.0 addons: apt: packages: *i686_packages @@ -35,7 +35,7 @@ matrix: rust: stable - env: TARGET=x86_64-unknown-linux-gnu os: linux - rust: 1.24.1 + rust: 1.28.0 # macOS - env: TARGET=x86_64-apple-darwin @@ -46,7 +46,7 @@ matrix: rust: stable - env: TARGET=x86_64-apple-darwin os: osx - rust: 1.24.1 + rust: 1.28.0 # iOS - env: TARGET=x86_64-apple-ios @@ -57,23 +57,12 @@ matrix: rust: stable - env: TARGET=x86_64-apple-ios os: osx - rust: 1.24.1 + rust: 1.28.0 install: - rustup self update - rustup target add $TARGET; true -before_script: - - | - if [ "$TRAVIS_RUST_VERSION" == "1.24.1" ]; then - # Some of winit's transitive dependencies have made semver-compatible releases that actually - # break their compatibility with rust 1.24.1. We freeze them to their last compatible version to - # ensure that winit still compiles fine on this rust version. - cargo update - cargo update -p stb_truetype --precise 0.2.2 - cargo update -p rusttype --precise 0.7.1 - fi - script: - cargo build --target $TARGET --verbose - cargo build --target $TARGET --features serde --verbose diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b66db57..6783ab94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ # Version 0.18.0 (2018-11-07) +- **Breaking:** minimum supported Rust version increased to 1.28.0. - **Breaking:** `image` crate upgraded to 0.20. This is exposed as part of the `icon_loading` API. - On Wayland, pointer events will now provide the current modifiers state. - On Wayland, titles will now be displayed in the window header decoration. diff --git a/README.md b/README.md index 5f5771bc..227e1461 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ fn main() { } ``` +Note that winit requires Rust 1.28.0 or later. + ### Cargo Features Winit provides the following features, which can be enabled in your `Cargo.toml` file: diff --git a/appveyor.yml b/appveyor.yml index a3cc34c5..9c1e9621 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,7 @@ environment: - TARGET: x86_64-pc-windows-msvc CHANNEL: stable - TARGET: x86_64-pc-windows-msvc - CHANNEL: 1.24.1 + CHANNEL: 1.28.0 - TARGET: i686-pc-windows-msvc CHANNEL: nightly - TARGET: i686-pc-windows-gnu