Skip to content

Commit f399ec9

Browse files
committed
Add 'rust-version' to Cargo.toml
1 parent 4e3cb0e commit f399ec9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/bindgen.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions-rs/toolchain@v1
4747
with:
4848
profile: minimal
49-
# MSRV below is documented in README.md, please update that if you
49+
# MSRV below is documented in Cargo.toml and README.md, please update those if you
5050
# change this.
5151
toolchain: 1.56.1
5252
override: true

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ homepage = "https://rust-lang.github.io/rust-bindgen/"
1717
version = "0.60.1"
1818
edition = "2018"
1919
build = "build.rs"
20+
# If you change this, also update README.md and msrv in .github/workflows/bindgen.yml
21+
rust-version = "1.56.1"
2022

2123
include = [
2224
"LICENSE",

0 commit comments

Comments
 (0)