Bump MSRV
This commit is contained in:
parent
634eb5f13e
commit
d68c59974d
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user