From 1a037dd925d1b9d0a49cbf3cceab050debab9cd6 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 24 May 2023 13:51:19 +0200 Subject: [PATCH 1/4] Only check library target against MSRV --- .github/workflows/rust.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 154eade0..e7dcd0ef 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,9 +20,6 @@ jobs: - os: ubuntu-latest rust: beta features: --all-features - - os: ubuntu-latest - rust: 1.58 - features: --features improved_unicode - os: ubuntu-latest rust: stable features: --all-features @@ -66,6 +63,20 @@ jobs: command: test args: --workspace ${{ matrix.features }} ${{ matrix.target }} + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: "1.58" + override: true + - uses: actions-rs/cargo@v1 + with: + command: check + args: --lib --all-features + lint: runs-on: ubuntu-latest steps: From 2ad10bf8a52ed044787ff26d7c4b58b16663c144 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 24 May 2023 13:52:06 +0200 Subject: [PATCH 2/4] Bump clap dependency to 4 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4d61f5d6..655af427 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ unicode-width = { version = "0.1", optional = true } vt100 = { version = "0.15.1", optional = true } [dev-dependencies] -clap = { version = "3", features = ["color", "derive"] } +clap = { version = "4", features = ["color", "derive"] } once_cell = "1" rand = "0.8" tokio = { version = "1", features = ["fs", "time", "rt"] } From 6321826240280d6478c6e1eb5db296f1040d52c1 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 24 May 2023 13:52:32 +0200 Subject: [PATCH 3/4] Bump version to 0.17.4 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 655af427..5da89473 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "indicatif" description = "A progress bar and cli reporting library for Rust" -version = "0.17.3" +version = "0.17.4" keywords = ["cli", "progress", "pb", "colors", "progressbar"] categories = ["command-line-interface"] license = "MIT" From 9e3d0ead1630f89e8cdb4067aaa732334be48d90 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 24 May 2023 14:03:14 +0200 Subject: [PATCH 4/4] Bump CI MSRV to 1.62.1 to resolve Cargo metadata for vte --- .github/workflows/rust.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e7dcd0ef..29b57604 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -70,7 +70,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: "1.58" + toolchain: "1.62.1" override: true - uses: actions-rs/cargo@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 5da89473..412a8195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ documentation = "https://docs.rs/indicatif" readme = "README.md" edition = "2018" exclude = ["screenshots/*"] -rust-version = "1.58" +rust-version = "1.62.1" [dependencies] console = { version = "0.15", default-features = false, features = ["ansi-parsing"] }