From a0fead67b117538354301f3e3467d0d217f617be Mon Sep 17 00:00:00 2001 From: Finomnis Date: Fri, 13 Oct 2023 01:06:18 +0200 Subject: [PATCH] Update Cargo.toml; introduce MSRV --- .github/workflows/ci.yml | 7 ++++++- Cargo.toml | 17 ++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ae9ff9..829adac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,12 +36,17 @@ jobs: runs-on: ubuntu-latest env: RUSTFLAGS: "-D warnings" + strategy: + matrix: + rust_version: + - "stable" + - "1.63.0" steps: - name: Checkout sources uses: actions/checkout@v3 - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@${{ matrix.rust_version }} #- uses: Swatinem/rust-cache@v1 diff --git a/Cargo.toml b/Cargo.toml index 3ea6d7a..07e8143 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,25 @@ [package] name = "tokio-graceful-shutdown" -version = "0.1.0" +authors = ["Finomnis "] +version = "0.14.0" edition = "2021" +rust-version = "1.63" +license = "MIT OR Apache-2.0" +readme = "README.md" +repository = "https://github.com/Finomnis/tokio-graceful-shutdown" +description = "Utilities to perform a graceful shutdown on a Tokio based service." +keywords = ["tokio", "shutdown"] +categories = ["asynchronous"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +exclude = [ + "/.gitignore", + "/.github/", + "/TODO.txt", + "/UPCOMING_VERSION_CHANGES.txt", +] + [dependencies] tracing = { version = "0.1.37", default-features = false }