Update to clap 4. (#2380) · rust-lang/rust-bindgen@ed2d06e (original) (raw)
8 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -48,11 +48,11 @@ jobs: | ||
48 | 48 | profile: minimal |
49 | 49 | # MSRV below is documented in Cargo.toml and README.md, please update those if you |
50 | 50 | # change this. |
51 | -toolchain: 1.57.0 | |
51 | +toolchain: 1.60.0 | |
52 | 52 | override: true |
53 | 53 | |
54 | 54 | - name: Build with msrv |
55 | -run: rm Cargo.lock && cargo +1.57.0 build --lib | |
55 | +run: rm Cargo.lock && cargo +1.60.0 build --lib | |
56 | 56 | |
57 | 57 | quickchecking: |
58 | 58 | runs-on: ubuntu-latest |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -160,7 +160,8 @@ | ||
160 | 160 | argument instead of a `&str`. |
161 | 161 | * Updated the `clang-sys` crate version to 1.4.0 to support clang 15. |
162 | 162 | * The return type is now ommited in signatures of functions returning `void`. |
163 | - | |
163 | +* Updated the `clap` dependency for `bindgen-cli` to 4. | |
164 | + | |
164 | 165 | ## Removed |
165 | 166 | |
166 | 167 | ## Fixed |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -39,7 +39,7 @@ extern "C" { | ||
39 | 39 | |
40 | 40 | ## MSRV |
41 | 41 | |
42 | -The minimum supported Rust version is **1.57.0**. | |
42 | +The minimum supported Rust version is **1.60.0**. | |
43 | 43 | |
44 | 44 | No MSRV bump policy has been established yet, so MSRV may increase in any release. |
45 | 45 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -14,7 +14,7 @@ homepage = "https://rust-lang.github.io/rust-bindgen/" | ||
14 | 14 | version = "0.63.0" |
15 | 15 | edition = "2018" |
16 | 16 | # If you change this, also update README.md and msrv in .github/workflows/bindgen.yml |
17 | -rust-version = "1.57.0" | |
17 | +rust-version = "1.60.0" | |
18 | 18 | |
19 | 19 | [[bin]] |
20 | 20 | path = "main.rs" |
@@ -23,7 +23,7 @@ name = "bindgen" | ||
23 | 23 | [dependencies] |
24 | 24 | bindgen = { path = "../bindgen", version = "=0.63.0" } |
25 | 25 | shlex = "1" |
26 | -clap = "3" | |
26 | +clap = "4" | |
27 | 27 | env_logger = { version = "0.9.0", optional = true } |
28 | 28 | log = { version = "0.4", optional = true } |
29 | 29 |