All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
Releases may yanked if there is a security bug, a soundness bug, or a regression.
0.1.32 - 2025-01-06
- Expose
CargoNewConfig
andHttpConfig
. (69ecb94)
0.1.31 - 2024-12-21
-
Remove dependency on
home
to restore the MSRV on Windows. -
Add
home_dir
,cargo_home_with_cwd
, andrustup_home_with_cwd
functions.
0.1.30 - 2024-12-21
- Respect
RUSTC_BOOTSTRAP=-1
recently added in nightly in rustc version detection.
0.1.29 - 2024-09-01
- Support
target.<triple>.rustdocflags
that added in Cargo 1.78.Config::rustdocflags
is a new recommended interface to get rustdocflags.
0.1.28 - 2024-09-01
- Support the
[cargo-new]
table. (#21, thanks @ranger-ross)
0.1.27 - 2024-08-19
- Support the
[http]
table. (#20, thanks @ranger-ross)
0.1.26 - 2024-04-20
- Fix regression when buggy rustc_workspace_wrapper is set, introduced in 0.1.25.
0.1.25 - 2024-04-17
- Respect rustc_wrapper and rustc_workspace_wrapper in
Config::{rustc_version, host_triple}
to match the Cargo's new behavior. (Other APIs such asConfig::rustc
are already respecting wrappers.)
0.1.24 - 2024-04-09
- Fix bug when merging array fields in config.
0.1.23 - 2024-03-29
- Fix
Config::rustc
when both rustc_wrapper and rustc_workspace_wrapper are set.
0.1.22 - 2024-03-20
- Implement
From<&PathAndArgs>
forstd::process::Command
.
0.1.21 - 2024-03-20
- Add
{RustcVersion,CargoVersion}::major_minor
.
0.1.20 - 2024-03-20
- Add
Config::{rustc_version, cargo_version}
.
0.1.19 - 2024-02-10
- Update
toml_edit
to 0.22.
0.1.18 - 2024-01-25
- Make
home
dependency Windows-only dependency.
0.1.17 - 2023-12-16
- Remove dependency on
once_cell
.
0.1.16 - 2023-11-17
-
Support
target.'cfg(..)'.linker
that added in Cargo 1.74. -
Update
toml_edit
to 0.21.
0.1.15 - 2023-10-24
- Improve compile time.
0.1.14 - 2023-10-18
- Improve compile time.
0.1.13 - 2023-10-17
- Improve compatibility with old Cargo.
0.1.12 - 2023-09-14
-
Improve robustness when new cfgs are added in the future.
-
Update
toml
to 0.8.
0.1.11 - 2023-09-11
- Remove dependency on
shell-escape
.
0.1.10 - 2023-09-08
- Remove dependency on
cfg-expr
.
0.1.9 - 2023-08-22
- Recognize unstable
target.cfg(relocation_model = "...")
on nightly.
0.1.8 - 2023-07-03
- Fix build error from dependency when built with
-Z minimal-versions
.
0.1.7 - 2023-04-05
- Update
cfg-expr
to 0.15.
0.1.6 - 2023-03-07
- Support the
[registries]
and[registry]
tables. (#8, thanks @yottalogical)
0.1.5 - 2023-02-23
- Fix handling of empty string rustc wrapper envs. (#7, thanks @tofay)
0.1.4 - 2023-01-28
-
Update
cfg-expr
to 0.14. -
Update
toml
to 0.7.
0.1.3 - 2023-01-24
- Migrate to
toml
0.6. (#6)
0.1.2 - 2023-01-10
-
Improve error messages.
-
Add
Config::cargo
method. -
Documentation improvements.
0.1.1 - 2023-01-09
- Fix
serde::Serialize
impl ofConfig
after target resolved.
0.1.0 - 2023-01-09
Initial release