Skip to content

Commit

Permalink
Bump MSRV from 1.56 to 1.66
Browse files Browse the repository at this point in the history
     error[E0599]: no method named `wrapping_add_signed` found for type `usize` in the current scope
       --> /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.14/src/tables.rs:407:22
        |
    407 |                 (sum.wrapping_add_signed(isize::from(add)), info)
        |                      ^^^^^^^^^^^^^^^^^^^ method not found in `usize`
  • Loading branch information
jirutka committed Dec 5, 2024
1 parent 12cb9c6 commit a04a0e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
toolchain:
- stable
- '1.56'
- '1.66'
- nightly
os:
- ubuntu
Expand Down Expand Up @@ -48,8 +48,7 @@ jobs:
run: cargo run --package argp --example simple_example two --fooey

- name: Report size overhead
# 1.56 doesn't support -C strip.
if: matrix.os != 'windows' && matrix.toolchain != '1.56'
if: matrix.os != 'windows'
run: ./scripts/report-size-overhead

lint:
Expand Down
2 changes: 1 addition & 1 deletion argp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "argp"
version = "0.3.0"
authors = ["Jakub Jirutka <[email protected]>"]
edition = "2021"
rust-version = "1.56.0"
rust-version = "1.66.0"
keywords = ["args", "arguments", "derive", "cli"]
license = "BSD-3-Clause"
description = "Derive-based argument parser optimized for code size"
Expand Down
2 changes: 1 addition & 1 deletion argp_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "argp_derive"
version = "0.3.0"
authors = ["Jakub Jirutka <[email protected]>"]
edition = "2021"
rust-version = "1.56.0"
rust-version = "1.66.0"
license = "BSD-3-Clause"
description = "Derive-based argument parsing optimized for code size"
repository = "https://github.com/jirutka/argp"
Expand Down

0 comments on commit a04a0e5

Please sign in to comment.