mirror of
https://github.com/encounter/object.git
synced 2026-07-10 12:18:39 -07:00
Increase minimum rust version with all features enabled
Indexmap needs rust 1.82.0, ruzstd needs 1.87.0.
This commit is contained in:
@@ -57,7 +57,7 @@ jobs:
|
||||
with:
|
||||
submodules: true
|
||||
- uses: dtolnay/rust-toolchain@1.65.0
|
||||
- uses: dtolnay/rust-toolchain@1.76.0
|
||||
- uses: dtolnay/rust-toolchain@1.87.0
|
||||
- run: cargo xtask msrv
|
||||
|
||||
rustfmt:
|
||||
|
||||
@@ -41,8 +41,8 @@ See [`crates/examples`](crates/examples) for more examples.
|
||||
|
||||
## Minimum Supported Rust Version (MSRV)
|
||||
|
||||
Changes to MSRV are considered breaking changes. We are conservative about changing the MSRV,
|
||||
but sometimes are required to due to dependencies. The MSRV with all features enabled is 1.81.0.
|
||||
Changes to MSRV are not considered changes. We are conservative about changing the MSRV,
|
||||
but sometimes are required to due to dependencies. The MSRV with all features enabled is 1.87.0.
|
||||
The MSRV with some features disabled is 1.65.0.
|
||||
|
||||
## License
|
||||
|
||||
+3
-3
@@ -187,15 +187,15 @@ fn cmd_cross() -> Result<(), DynError> {
|
||||
fn cmd_msrv() -> Result<(), DynError> {
|
||||
cmd_with(
|
||||
"cargo",
|
||||
&["+1.65.0", "test", "-p", "object", "--no-default-features", "--features", "read,write,build,std"],
|
||||
&["+1.65.0", "test", "-p", "object", "--no-default-features", "--features", "read,std"],
|
||||
|cmd| {
|
||||
cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true");
|
||||
},
|
||||
)?;
|
||||
// wasmparser needs 1.76.0 and ruzstd needs 1.81
|
||||
// wasmparser needs 1.76.0, ruzstd needs 1.87.0, indexmap needs 1.82.0
|
||||
cmd_with(
|
||||
"cargo",
|
||||
&["+1.81.0", "test", "-p", "object", "--features", "all"],
|
||||
&["+1.87.0", "test", "-p", "object", "--features", "all"],
|
||||
|cmd| {
|
||||
cmd.env("CARGO_NET_GIT_FETCH_WITH_CLI", "true");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user