Bump MSRV

This commit is contained in:
Jonas Platte 2020-04-16 01:47:45 +02:00
parent 1d6bf1979b
commit 32c161f81e
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
language: "rust" language: "rust"
cache: "cargo" cache: "cargo"
rust: rust:
- 1.36.0 - 1.40.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.36.0" ]; then if [ "$TRAVIS_RUST_VERSION" != "1.40.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.36.0" ]; then if [ "$TRAVIS_RUST_VERSION" != "1.40.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

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