Skip to content

Commit

Permalink
Document the bindgen-cli MSRV (#2516)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz authored Apr 28, 2023
1 parent 3ea5d17 commit b0604b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,15 @@ extern "C" {

## MSRV

The minimum supported Rust version is **1.60.0**.
The `bindgen` minimum supported Rust version is **1.60.0**.

The `bindgen-cli` minimum supported Rust version is **1.64.0**.

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

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.
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.

Most of the time, the `bindgen-cli` crate will have a more recent MSRV than `bindgen` as crates such as `clap` require it.

## API Reference

Expand Down

0 comments on commit b0604b4

Please sign in to comment.