NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #2583 most downloaded on crates.io
Load and resolve Cargo configuration.
Last release 2 months ago
30 Jul 2026
Release timing varies
gaps range from 2 weeks to 5 months
Nearly every release is documented
notes for 46 of 46 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
46 releases · first in 2023
One column per quarter.
Support cfg(false) / cfg(true) / cfg() expressions that supported in Cargo 1.88 . ( #66 , thanks @obi1kenobi )
Support cfg(false) / cfg(true) / cfg() expressions that supported in Cargo 1.88. (#66, thanks @obi1kenobi)
Support target.'cfg(..)'.rustdocflags that added in Cargo 1.96. (#67, thanks @obi1kenobi)
Handle empty target flags to match the Cargo behavior. (#67, thanks @obi1kenobi)
Treat empty encoded flags as a zero-flag override to match the Cargo behavior. (#68, thanks @obi1kenobi)
Remove dependency on windows-sys .
Remove dependency on windows-sys.
Increase the minimum supported Rust version (MSRV) from Rust 1.76 to Rust 1.85.
Fix unstable_name_collisions warning.
unstable_name_collisions warning.Update toml to 1.
toml to 1.Fix handling of cfg(<key> = "") .
Fix error with custom targets in recent nightly .
Fix error with custom targets in recent nightly.
Enable release immutability.
Fix "invalid type: .., expected struct TargetConfig" error when a custom field used in target.<triple> config .
Improve support for target names that contain ".".
Support build.build-dir that stabilized in Cargo 1.91 . ( #29 , thanks @ranger-ross )
build.build-dir that stabilized in Cargo 1.91. (#29, thanks @ranger-ross)This increases the minimum supported Rust version (MSRV) from Rust 1.70 to Rust 1.71.
Update windows-sys to 0.61.
This increases the minimum supported Rust version (MSRV) from Rust 1.70 to Rust 1.71.
- Use toml instead of toml_edit.
toml instead of toml_edit.Support the [sources] table. (#31, thanks @Altair-Bueno)
Support the [sources] table. (#31, thanks @Altair-Bueno)
Update windows-sys to 0.60.
Add structs and fields for credential providers. (#25, #27, thanks @nox)
Expose CargoNewConfig and HttpConfig.
CargoNewConfig and HttpConfig. (69ecb94)Remove dependency on home to restore the MSRV on Windows.
Remove dependency on home to restore the MSRV on Windows.
Add home_dir, cargo_home_with_cwd, and rustup_home_with_cwd functions.
Respect `RUSTC_BOOTSTRAP=-1` recently added in nightly in rustc version detection.
RUSTC_BOOTSTRAP=-1 recently added in nightly in rustc version detection.Support target. .rustdocflags that added in Cargo 1.78. Config::rustdocflags is a new recommended interface to get rustdocflags.
target.<triple>.rustdocflags that added in Cargo 1.78.
Config::rustdocflags is a new recommended interface to get rustdocflags.Support the [cargo-new] table. (#21, thanks @ranger-ross)
[cargo-new] table. (#21, thanks @ranger-ross)Support the [http] table. (#20, thanks @ranger-ross)
[http] table. (#20, thanks @ranger-ross)Fix regression when buggy rustc_workspace_wrapper is set, introduced in 0.1.25.
Respect rustc_wrapper and rustc_workspace_wrapper in Config::{rustc_version, host_triple} to match the Cargo's new behavior. (Other APIs such as Confi
Config::{rustc_version, host_triple} to match the Cargo's new behavior. (Other APIs such as Config::rustc are already respecting wrappers.)Fix bug when merging array fields in config.
Fix Config::rustc when both rustc_wrapper and rustc_workspace_wrapper are set.
Config::rustc when both rustc_wrapper and rustc_workspace_wrapper are set.Implement From<&PathAndArgs> for std::Command.
From<&PathAndArgs> for std::process::Command.Add {RustcVersion,CargoVersion}::major_minor.
{RustcVersion,CargoVersion}::major_minor.Add Config::{rustc_version, cargo_version}.
Config::{rustc_version, cargo_version}.- Update toml_edit to 0.22.
toml_edit to 0.22.Make home dependency Windows-only dependency.
home dependency Windows-only dependency.Remove dependency on once_cell.
once_cell.Support target.'cfg(..)'.linker that added in Cargo 1.74.
Support target.'cfg(..)'.linker that added in Cargo 1.74.
Update toml_edit to 0.21.
- Improve compile time.
- Improve compile time.
Improve compatibility with old Cargo.
Improve robustness when new cfgs are added in the future.
Improve robustness when new cfgs are added in the future.
Update toml to 0.8.
Remove dependency on shell-escape.
shell-escape.- Remove dependency on cfg-expr.
cfg-expr.Recognize unstable target.cfg(relocation_model = "...") on nightly.
target.cfg(relocation_model = "...") on nightly.Fix build error from dependency when built with -Z minimal-versions.
-Z minimal-versions.- Update cfg-expr to 0.15.
cfg-expr to 0.15.Support the [registries] and [registry] tables. (#8, thanks @yottalogical)
[registries] and [registry] tables. (#8, thanks @yottalogical)Fix handling of empty string rustc wrapper envs. (#7, thanks @tofay)
- Update cfg-expr to 0.14. - Update toml to 0.7.
Update cfg-expr to 0.14.
Update toml to 0.7.
- Migrate to toml 0.6.
toml 0.6. (#6)- Improve error messages. - Add Config::cargo method. - Documentation improvements.
Improve error messages.
Add Config::cargo method.
Documentation improvements.
Fix serde::Serialize impl of Config after target resolved.
serde::Serialize impl of Config after target resolved.[Unreleased]: https://github.com/taiki-e/cargo-config2/compare/v0.1.45...HEAD [0.1.45]: https://github.com/taiki-e/cargo-config2/compare/v0.1.44...v0.
Your coding agent can read these notes before it upgrades. Set up the MCP server →