Closed
Description
The crate in version 0.23 is released with MSRV of 1.56, but a compilation with Rust lower than 1.77 fails.
$ cargo build
...
Compiling k8s-openapi v0.23.0
error: unsupported output in build script of `k8s-openapi v0.23.0`: `cargo::rerun-if-env-changed=K8S_OPENAPI_ENABLED_VERSION`
Found a `cargo::key=value` build directive which is reserved for future use.
Either change the directive to `cargo:key=value` syntax (note the single `:`) or upgrade your version of Rust.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.
To be consistent I recommend to either use the old directive as indicated by the compiler or to clearly state MSRV of Rust 1.77.
Background: for some embedded applications we cannot always use the latest compiler versions.
Metadata
Metadata
Assignees
Labels
No labels