Bump MSRV to 1.36.0

This commit is contained in:
Jonas Platte 2019-11-22 11:08:53 +01:00
parent 3141f3e9a1
commit f84b7f2b7f
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
4 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
language: "rust" language: "rust"
cache: "cargo" cache: "cargo"
rust: rust:
- 1.34.2 - 1.36.0
- stable - stable
- beta - beta
- nightly - nightly
@ -13,7 +13,7 @@ jobs:
before_script: before_script:
- rustup component add rustfmt - rustup component add rustfmt
- | - |
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
rustup component add clippy rustup component add clippy
fi fi
- | - |
@ -28,7 +28,7 @@ script:
fi fi
- cargo fmt -- --check - cargo fmt -- --check
- | - |
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
cargo clippy --all-targets --all-features -- -D warnings cargo clippy --all-targets --all-features -- -D warnings
fi fi
- cargo build --verbose - cargo build --verbose

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
# [unreleased]
Breaking changes:
* Our Minimum Supported Rust Version is now 1.36.0

View File

@ -6,7 +6,7 @@
## Minimum Rust version ## Minimum Rust version
ruma-identifiers requires Rust 1.34.2 or later. ruma-identifiers requires Rust 1.36.0 or later.
## Documentation ## Documentation

View File

@ -7,7 +7,7 @@
missing_debug_implementations, missing_debug_implementations,
missing_docs missing_docs
)] )]
// Since we support Rust 1.34.2, we can't apply this suggestion yet // Since we support Rust 1.36.0, we can't apply this suggestion yet
#![allow(clippy::use_self)] #![allow(clippy::use_self)]
#[cfg(feature = "diesel")] #[cfg(feature = "diesel")]