Skip to content

Commit b0604b4

Browse files
authored
Document the bindgen-cli MSRV (#2516)
1 parent 3ea5d17 commit b0604b4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,15 @@ extern "C" {
3939

4040
## MSRV
4141

42-
The minimum supported Rust version is **1.60.0**.
42+
The `bindgen` minimum supported Rust version is **1.60.0**.
43+
44+
The `bindgen-cli` minimum supported Rust version is **1.64.0**.
4345

4446
No MSRV bump policy has been established yet, so MSRV may increase in any release.
4547

46-
The MSRV is the minimum Rust version that can be used to *compile* `bindgen`. However, `bindgen` can generate bindings that are compatible with Rust versions below the current MSRV.
48+
The MSRV is the minimum Rust version that can be used to *compile* each crate. However, `bindgen` and `bindgen-cli` can generate bindings that are compatible with Rust versions below the current MSRV.
49+
50+
Most of the time, the `bindgen-cli` crate will have a more recent MSRV than `bindgen` as crates such as `clap` require it.
4751

4852
## API Reference
4953

0 commit comments

Comments
 (0)