Fix MSRV, update CHANGELOG.md

This commit is contained in:
Jonas Platte 2019-12-12 22:25:35 +01:00
parent 83493de30c
commit ec74c2d798
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
4 changed files with 6 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
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then
rustup component add clippy
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 -- --check - cargo fmt -- --check
- | - |
if [ "$TRAVIS_RUST_VERSION" != "1.36.0" ]; then if [ "$TRAVIS_RUST_VERSION" != "1.39.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

@ -1,10 +1,10 @@
# [unreleased] # r0.5.0
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`
* Move `r0::room::create_room::Visibility` to `r0::room::Visibility` * Move `r0::room::create_room::Visibility` to `r0::room::Visibility`
* Our Minimum Supported Rust Version is now 1.36.0 * Our Minimum Supported Rust Version is now 1.39.0
* Move `r0::account::register::AuthenticationData` to `r0::account::AuthenticationData` * Move `r0::account::register::AuthenticationData` to `r0::account::AuthenticationData`
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.36.0 or later. ruma-client-api requires Rust 1.39.0 or later.
## Status ## Status

View File

@ -7,8 +7,6 @@
missing_debug_implementations, missing_debug_implementations,
missing_docs missing_docs
)] )]
// Since we support Rust 1.36.0, we can't apply this suggestion yet
#![allow(clippy::use_self)]
pub mod r0; pub mod r0;
pub mod unversioned; pub mod unversioned;