diff --git a/.github/workflows/rust.yaml b/.github/workflows/ci.yaml similarity index 87% rename from .github/workflows/rust.yaml rename to .github/workflows/ci.yaml index 1678a19..e9597fb 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/ci.yaml @@ -1,13 +1,12 @@ -name: rust +name: ci on: + pull_request: {} push: - branches: [ master ] - pull_request: - branches: [ master ] - -env: - CARGO_TERM_COLOR: always + branches: + - master + schedule: + - cron: '0 0 * * 0' jobs: lint: @@ -25,7 +24,7 @@ jobs: strategy: matrix: rust: - - 1.46.0 + - 1.56.0 - stable - beta steps: diff --git a/Cargo.toml b/Cargo.toml index 859745c..d25c209 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,8 @@ documentation = "https://docs.rs/crc" description = "Rust implementation of CRC with support of various standards" keywords = ["crc", "crc16", "crc32", "crc64", "hash"] categories = ["algorithms", "no-std"] -edition = "2018" +edition = "2021" +rust-version = "1.56" [dependencies] crc-catalog = "2.1.0" diff --git a/README.md b/README.md index 1e3bdb2..a2aa8f6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Rust implementation of CRC. -[![rust](https://github.com/mrhooray/crc-rs/actions/workflows/rust.yaml/badge.svg)](https://github.com/mrhooray/crc-rs/actions/workflows/rust.yaml) +[![ci](https://github.com/mrhooray/crc-rs/actions/workflows/ci.yaml/badge.svg)](https://github.com/mrhooray/crc-rs/actions/workflows/ci.yaml) [![Crate](https://img.shields.io/crates/v/crc.svg)](https://crates.io/crates/crc) [![Docs](https://docs.rs/crc/badge.svg)](https://docs.rs/crc) [![License](https://img.shields.io/crates/l/crc.svg?maxAge=2592000)](https://github.com/mrhooray/crc-rs#license) @@ -43,7 +43,7 @@ assert_eq!(digest.finalize(), 0xaee7); ### Minimum supported Rust version (MSRV) -This crate's MSRV is 1.46. +This crate's MSRV is 1.56. At a minimum, the MSRV will be <= the oldest stable release in the last 12 months. MSRV may be bumped in minor version releases.