cargo-config2
Load and resolve Cargo configuration.
0.1.45
14M downloads/mo
#2534 most downloaded on crates.io
taiki-e/cargo-config2
What this package is like to depend on
Last release 24 days 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
10 releases in the last 12 months
see the full history below
Release timeline
46 releases · Jan 2023 to Jul 2026Releases
latest 46-
0.1.4530 Jul 2026Release notes
Open source →-
Support
cfg(false) / cfg(true) / cfg()expressions that supported in Cargo 1.88. (#66, thanks @obi1kenobi) -
Support
target.'cfg(..)'.rustdocflagsthat 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)
Release notes
Open source →-
Support
cfg(false) / cfg(true) / cfg()expressions that supported in Cargo 1.88. (#66, thanks @obi1kenobi) -
Support
target.'cfg(..)'.rustdocflagsthat 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)
-
-
0.1.4424 Mar 2026Release notes
Open source →-
Remove dependency on
windows-sys. -
Increase the minimum supported Rust version (MSRV) from Rust 1.76 to Rust 1.85.
Release notes
Open source →-
Remove dependency on
windows-sys. -
Increase the minimum supported Rust version (MSRV) from Rust 1.76 to Rust 1.85.
-
-
0.1.4326 Feb 2026 -
0.1.4213 Feb 2026 -
0.1.4108 Feb 2026 -
0.1.4006 Feb 2026Release notes
Open source →-
Fix error with custom targets in recent nightly.
-
Enable release immutability.
Release notes
Open source →-
Fix error with custom targets in recent nightly.
-
Enable release immutability.
-
-
0.1.3910 Oct 2025Release notes
Open source → -
0.1.3804 Oct 2025 -
0.1.3703 Oct 2025Release notes
Open source →- Support
build.build-dirthat stabilized in Cargo 1.91. (#29, thanks @ranger-ross)
Release notes
Open source →- Support
build.build-dirthat stabilized in Cargo 1.91. (#29, thanks @ranger-ross)
- Support
-
0.1.3605 Sep 2025Release notes
Open source →-
Update
windows-systo 0.61.This increases the minimum supported Rust version (MSRV) from Rust 1.70 to Rust 1.71.
Release notes
Open source →-
Update
windows-systo 0.61.This increases the minimum supported Rust version (MSRV) from Rust 1.70 to Rust 1.71.
-
-
0.1.3511 Jul 2025 -
0.1.3422 Jun 2025Release notes
Open source →-
Support the
[sources]table. (#31, thanks @Altair-Bueno) -
Update
windows-systo 0.60.
-
-
0.1.3307 Jun 2025 -
0.1.3206 Jan 2025 -
0.1.3121 Dec 2024Release notes
Open source →-
Remove dependency on
hometo restore the MSRV on Windows. -
Add
home_dir,cargo_home_with_cwd, andrustup_home_with_cwdfunctions.
-
-
0.1.3021 Dec 2024Release notes
Open source →- Respect
RUSTC_BOOTSTRAP=-1recently added in nightly in rustc version detection.
- Respect
-
0.1.2901 Sep 2024Release notes
Open source →- Support
target.<triple>.rustdocflagsthat added in Cargo 1.78.Config::rustdocflagsis a new recommended interface to get rustdocflags.
- Support
-
0.1.2801 Sep 2024 -
0.1.2719 Aug 2024 -
0.1.2620 Apr 2024Release notes
Open source →- Fix regression when buggy rustc_workspace_wrapper is set, introduced in 0.1.25.
-
0.1.2517 Apr 2024Release notes
Open source →- Respect rustc_wrapper and rustc_workspace_wrapper in
Config::{rustc_version, host_triple}to match the Cargo's new behavior. (Other APIs such asConfig::rustcare already respecting wrappers.)
- Respect rustc_wrapper and rustc_workspace_wrapper in
-
0.1.2409 Apr 2024 -
0.1.2329 Mar 2024Release notes
Open source →- Fix
Config::rustcwhen both rustc_wrapper and rustc_workspace_wrapper are set.
- Fix
-
0.1.2220 Mar 2024 -
0.1.2120 Mar 2024 -
0.1.2020 Mar 2024 -
0.1.1910 Feb 2024 -
0.1.1825 Jan 2024 -
0.1.1716 Dec 2023 -
0.1.1617 Nov 2023Release notes
Open source →-
Support
target.'cfg(..)'.linkerthat added in Cargo 1.74. -
Update
toml_editto 0.21.
-
-
0.1.1524 Oct 2023 -
0.1.1418 Oct 2023 -
0.1.1317 Oct 2023 -
0.1.1214 Sep 2023Release notes
Open source →-
Improve robustness when new cfgs are added in the future.
-
Update
tomlto 0.8.
-
-
0.1.1111 Sep 2023 -
0.1.1008 Sep 2023 -
0.1.922 Aug 2023 -
0.1.803 Jul 2023 -
0.1.705 Apr 2023 -
0.1.607 Mar 2023Release notes
Open source →- Support the
[registries]and[registry]tables. (#8, thanks @yottalogical)
- Support the
-
0.1.523 Feb 2023 -
0.1.428 Jan 2023 -
0.1.324 Jan 2023 -
0.1.210 Jan 2023Release notes
Open source →-
Improve error messages.
-
Add
Config::cargomethod. -
Documentation improvements.
-
-
0.1.109 Jan 2023 -
0.1.009 Jan 2023