Bump MSRV

This commit is contained in:
Jonas Platte 2019-12-03 22:11:17 +01:00
parent 634eb5f13e
commit d68c59974d
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
4 changed files with 4 additions and 11 deletions

View File

@ -1,7 +1,7 @@
language: "rust" language: "rust"
cache: "cargo" cache: "cargo"
rust: rust:
- 1.36.0 - 1.39.0
- stable - stable
- beta - beta
- nightly - nightly
@ -12,10 +12,7 @@ jobs:
before_script: before_script:
- rustup component add rustfmt - rustup component add rustfmt
- | - rustup component add clippy || true
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
rustup component add clippy || true
fi
- | - |
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
cargo install --force cargo-audit cargo install --force cargo-audit
@ -28,7 +25,7 @@ script:
fi fi
- cargo fmt --all -- --check - cargo fmt --all -- --check
- | - |
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ] && ( rustup component list | grep -q clippy ); then if ( rustup component list | grep -q clippy ); 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

@ -7,7 +7,7 @@ These types can be shared by client and server code for all Matrix APIs.
## Minimum Rust version ## Minimum Rust version
ruma-api requires Rust 1.36.0 or later. ruma-api requires Rust 1.39.0 or later.
## Documentation ## Documentation

View File

@ -7,8 +7,6 @@
#![deny(missing_copy_implementations, missing_debug_implementations)] #![deny(missing_copy_implementations, missing_debug_implementations)]
#![allow(clippy::cognitive_complexity)] #![allow(clippy::cognitive_complexity)]
// Since we support Rust 1.36.0, we can't apply this suggestion yet
#![allow(clippy::use_self)]
#![recursion_limit = "256"] #![recursion_limit = "256"]
extern crate proc_macro; extern crate proc_macro;

View File

@ -12,8 +12,6 @@
#![warn(rust_2018_idioms)] #![warn(rust_2018_idioms)]
#![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)] #![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)]
// Since we support Rust 1.36.0, we can't apply this suggestion yet
#![allow(clippy::use_self)]
use std::{ use std::{
convert::{TryFrom, TryInto}, convert::{TryFrom, TryInto},