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"
cache: "cargo"
rust:
- 1.36.0
- 1.39.0
- stable
- beta
- nightly
@ -12,10 +12,7 @@ jobs:
before_script:
- rustup component add rustfmt
- |
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
rustup component add clippy || true
fi
- rustup component add clippy || true
- |
if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then
cargo install --force cargo-audit
@ -28,7 +25,7 @@ script:
fi
- 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
fi
- 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
ruma-api requires Rust 1.36.0 or later.
ruma-api requires Rust 1.39.0 or later.
## Documentation

View File

@ -7,8 +7,6 @@
#![deny(missing_copy_implementations, missing_debug_implementations)]
#![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"]
extern crate proc_macro;

View File

@ -12,8 +12,6 @@
#![warn(rust_2018_idioms)]
#![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::{
convert::{TryFrom, TryInto},