Bump MSRV to 1.36.0

This commit is contained in:
Jonas Platte 2019-11-24 15:43:13 +01:00
parent de80253e78
commit b9f5fd796e
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
4 changed files with 6 additions and 6 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 --all -- --check - cargo fmt --all -- --check
- | - |
if [ "$TRAVIS_RUST_VERSION" != "1.34.2" ]; then if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
cargo clippy --all --all-targets --all-features -- -D warnings cargo clippy --all --all-targets --all-features -- -D warnings
fi fi
- cargo build --all --verbose - cargo build --all --verbose

View File

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

View File

@ -27,7 +27,7 @@
clippy::wrong_pub_self_convention, clippy::wrong_pub_self_convention,
clippy::wrong_self_convention clippy::wrong_self_convention
)] )]
// 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)]
#![recursion_limit = "128"] #![recursion_limit = "128"]

View File

@ -111,7 +111,7 @@
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]
#![deny(missing_debug_implementations, missing_docs)] #![deny(missing_debug_implementations, 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)]
use std::{ use std::{