Releases: ronnychevalier/cargo-multivers
Releases · ronnychevalier/cargo-multivers
v0.9.0
Version 0.9.0 - 26-07-2024
Added
- Define default CPUs for
x86-64
using microarchitecture levels:x86-64,x86-64-v2,x86-64-v3,x86-64-v4
. It helps to limit build times (#6).
Changed
- Update dependencies.
- MSRV is now 1.80.
v0.8.1
Version 0.8.1 - 17-02-2024
Changed
- Update dependencies.
Fixed
- Build of
multivers-runner
with recent nightly
v0.8.0
Version 0.8.0 - 27-12-2023
Added
- A GitHub Action
cargo-multivers
is available to help build a binary in your CI and make it available during a release. --out-dir
to copy the final binaries to a directory.
Changed
- Update dependencies.
Fixed
- Do not propagate the
CARGO_UNSTABLE_BUILD_STD
environment variable to the build of the runner (#7). - Return an error on invalid CPUs from
--cpus
or fromcpu
list in[package.metadata.multivers.ARCH]
. - Fix build error when
--target-dir
is given as an argument to cargo build (e.g.,cargo multivers -- --target-dir target_dir
)
v0.7.0
Version 0.7.0 - 18-12-2023
Added
--color
option to control the color preferences of the output (possible values: auto, always, never. default: auto).--profile
option to select a profile to build artifacts with (default: release).
Changed
- The messages like
warning: unstable feature specified for -Ctarget-feature
are now hidden to limit the noise.
Fixed
RUSTFLAGS
is no longer overwritten completely (discarding it previous value). There was a typo when reading its current value (RUST_FLAGS
instead ofRUSTFLAGS
).- Do not pass the cargo args from the CLI to the build of the runner. These arguments are meant to specify additional args for the builds, not the runner itself.
- Improve how the executable being built is found when parsing cargo messages.
- Fix building a binary in a workspace.
v0.6.0
Version 0.6.0 - 15-12-2023
Added
- You can now specify the version of the runner with
--runner-version
(defaults to the latest published version of the runner).
Changed
- The runner no longer depends on a Git repository.
std_detect
has been forked and an up-to-date version callednotstd_detect
has been uploaded tocrates.io
to access the required features. - The runner has been uploaded to
crates.io
as a separate cratemultivers-runner
. - Update dependencies.
- MSRV is now 1.74.
v0.5.0
Version 0.5.0 - 12-08-2023
Changed
cargo multivers
now stops on the first error it encounters.- The file that contains the list of versions built given to the runner is now in JSON.
- Updated dependencies to fix build with Rust nightly and proc-macro2.
- MSRV is now 1.66.
Fixed
- Removed duplicated error messages.
- Do not display a false ETA for the first build.
v0.4.1
Version 0.4.1
Added
- You can now specify the list of CPUs you want to target with
--cpus
on the command line or by specifying it in yourCargo.toml
like:
[package.metadata.multivers.x86_64]
cpus = ["generic", "alderlake", "skylake", "sandybridge", "ivybridge"]
Changed
- Updated dependencies to remove the duplicated ones
- Removed unneeded unsafe code
v0.4.0
Version 0.4.0
Changed
- Changed the runner to use compressed binary patches instead of compressing each version to reduce the size of the resulting runner.
The runner now contains a compressed source binary and a set of compressed binary patches.
When executed, the runner will patch the source binary with a patch that relies on CPU features that the host has and run the resulting binary. - Updated dependencies
- Improved the error messages of the runner's build script.
v0.3.2
Version 0.3.2
- Bump MSRV to Rust 1.65
v0.3.1
Version 0.3.1
Changes
- Improved the runner performance
- Reduced the size of the runner
Internal
- Updated dependencies