Bump MSRV to 1.56

This commit is contained in:
Dirkjan Ochtman 2023-05-08 09:32:24 +02:00
parent f6597197cd
commit 816f5bd48c
2 changed files with 6 additions and 6 deletions

View File

@ -32,9 +32,8 @@ jobs:
- run: cargo test --doc --all-features --color=always -- --color=always
# later this may be able to be included with the below
# kept seperate for now as the following don't compile on 1.38.0
# * rkyv
# * criterion
# kept separate for now as the following don't compile on 1.56.1
# * arbitrary
rust_msrv:
strategy:
matrix:
@ -44,11 +43,11 @@ jobs:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.38.0
toolchain: 1.56.1
- uses: Swatinem/rust-cache@v2
# run --lib and --doc to avoid the long running integration tests which are run elsewhere
- run: cargo test --lib --features unstable-locales,wasmbind,oldtime,clock,rustc-serialize,winapi --color=always -- --color=always
- run: cargo test --doc --features unstable-locales,wasmbind,oldtime,clock,rustc-serialize,winapi --color=always -- --color=always
- run: cargo test --lib --features unstable-locales,wasmbind,oldtime,clock,rustc-serialize,winapi,serde --color=always -- --color=always
- run: cargo test --doc --features unstable-locales,wasmbind,oldtime,clock,rustc-serialize,winapi,serde --color=always -- --color=always
rust_versions:
strategy:

View File

@ -11,6 +11,7 @@ readme = "README.md"
license = "MIT/Apache-2.0"
exclude = ["/ci/*"]
edition = "2018"
rust-version = "1.56.0"
[lib]
name = "chrono"