diff --git a/.travis.yml b/.travis.yml index 8b188c77..03e1dca1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 - fi + - rustup component add clippy - | if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then cargo install --force cargo-audit @@ -28,7 +25,7 @@ script: fi - 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 fi - cargo build --verbose diff --git a/CHANGELOG.md b/CHANGELOG.md index 0553d0e4..cf0ccc57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ -# [unreleased] +# r0.5.0 Breaking changes: * Move `r0::directory::get_public_rooms::PublicRoomsChunk` to `r0::directory::PublicRoomsChunk` * 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` Improvements: diff --git a/README.md b/README.md index 7baea26c..18757086 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ These types can be shared by client and server code. ## Minimum Rust version -ruma-client-api requires Rust 1.36.0 or later. +ruma-client-api requires Rust 1.39.0 or later. ## Status diff --git a/src/lib.rs b/src/lib.rs index 2bf1f422..eb2423c6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,8 +7,6 @@ missing_debug_implementations, 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 unversioned;