Bump MSRV

This commit is contained in:
Jonas Platte 2019-11-22 11:05:37 +01:00
parent 5a84d9ba26
commit 44387425ba
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
4 changed files with 6 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

View File

@ -3,6 +3,7 @@
Breaking changes: Breaking changes:
* Move `r0::directory::get_public_rooms::PublicRoomsChunk` to `r0::directory::PublicRoomsChunk` * Move `r0::directory::get_public_rooms::PublicRoomsChunk` to `r0::directory::PublicRoomsChunk`
* Our Minimum Supported Rust Version is now 1.36.0
Improvements: Improvements:

View File

@ -7,7 +7,7 @@ These types can be shared by client and server code.
## Minimum Rust version ## Minimum Rust version
ruma-client-api requires Rust 1.34.2 or later. ruma-client-api requires Rust 1.36.0 or later.
## Status ## Status

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)]
pub mod r0; pub mod r0;