Skip to content

Commit bd16b31

Browse files
authored
fix(msrv): add rust-version based on ground truth (#1364)
use of `iter::repeat_n` and `Cargo.lock` version 4 cause this package to depend on Rust 1.82.0 at minimum
1 parent 0e2201b commit bd16b31

File tree

10 files changed

+12
-1
lines changed

10 files changed

+12
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
CLI tool to generate bindings for WIT documents and the component model.
@@ -18,6 +19,7 @@ edition = "2021"
1819
version = "0.44.0"
1920
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
2021
repository = "https://github.com/bytecodealliance/wit-bindgen"
22+
rust-version = "1.82.0"
2123

2224
[workspace.dependencies]
2325
anyhow = "1.0.72"

crates/c/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
C bindings generator for WIT and the component model, typically used through the

crates/core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
Low-level support for bindings generation based on WIT files for use with

crates/cpp/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "wit-bindgen-cpp"
33
authors = ["Christof Petig <[email protected]>"]
44
version = "0.44.0"
55
edition.workspace = true
6+
rust-version.workspace = true
67
repository = 'https://github.com/cpetig/wit-bindgen'
78
license = "Apache-2.0 WITH LLVM-exception"
89
description = """

crates/csharp/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
C# bindings generator for WIT and the component model, typically used

crates/guest-rust/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
Rust bindings generator and runtime support for WIT and the component model.

crates/markdown/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = { workspace = true }
44
edition = { workspace = true }
55
repository = { workspace = true }
66
license = { workspace = true }
7+
rust-version = { workspace = true }
78
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
89
description = """
910
Markdown generator for WIT and the component model, typically used

crates/moonbit/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
MoonBit bindings generator for WIT and the component model, typically used

crates/rust/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66
repository = { workspace = true }
77
license = { workspace = true }
8+
rust-version = { workspace = true }
89
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
910
description = """
1011
Rust bindings generator for WIT and the component model, typically used through

crates/test/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ version = { workspace = true }
44
edition = { workspace = true }
55
repository = { workspace = true }
66
license = { workspace = true }
7+
rust-version = { workspace = true }
78
homepage = 'https://github.com/bytecodealliance/wit-bindgen'
89
description = """
9-
Backend of the `wit-bindgne test` subcommand
10+
Backend of the `wit-bindgen test` subcommand
1011
"""
1112
readme = "README.md"
1213

0 commit comments

Comments
 (0)