PackageTrack
Sign in Get early access

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 2026
2024 2025 2026
Release Pre-release

Releases

latest 46
  1. 0.1.45 30 Jul 2026
    Release notes
    Open source →
    Release notes
    • 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)

    Open source →
  2. 0.1.44 24 Mar 2026
    Release notes
    • Remove dependency on windows-sys.

    • Increase the minimum supported Rust version (MSRV) from Rust 1.76 to Rust 1.85.

    Open source →
    Release notes
    • Remove dependency on windows-sys.

    • Increase the minimum supported Rust version (MSRV) from Rust 1.76 to Rust 1.85.

    Open source →
  3. 0.1.43 26 Feb 2026
    Release notes
    • Fix unstable_name_collisions warning.
    Open source →
    Release notes
    • Fix unstable_name_collisions warning.
    Open source →
  4. 0.1.42 13 Feb 2026
    Release notes
    • Update toml to 1.
    Open source →
    Release notes
    • Update toml to 1.
    Open source →
  5. 0.1.41 08 Feb 2026
    Release notes
    • Add Config::cfg. (#40)

    • Fix handling of cfg(<key> = ""). (#40)

    • Implement From<&'a Box<str>> for TargetTripleRef<'a>, From<Box<str>> for TargetTripleRef<'static>.

    Open source →
    Release notes
    • Add Config::cfg. (#40)

    • Fix handling of cfg(<key> = ""). (#40)

    • Implement From<&'a Box<str>> for TargetTripleRef<'a>, From<Box<str>> for TargetTripleRef<'static>.

    Open source →
  6. 0.1.40 06 Feb 2026
    Release notes
    Open source →
    Release notes
    Open source →
  7. 0.1.39 10 Oct 2025
    Release notes Open source →
    Release notes Open source →
  8. 0.1.38 04 Oct 2025
    Release notes
    • Improve support for target names that contain ".". (#38)
    Open source →
    Release notes
    • Improve support for target names that contain ".". (#38)
    Open source →
  9. 0.1.37 03 Oct 2025
    Release notes
    Open source →
    Release notes
    Open source →
  10. 0.1.36 05 Sep 2025
    Release notes
    • Update windows-sys to 0.61.

      This increases the minimum supported Rust version (MSRV) from Rust 1.70 to Rust 1.71.

    Open source →
    Release notes
    • Update windows-sys to 0.61.

      This increases the minimum supported Rust version (MSRV) from Rust 1.70 to Rust 1.71.

    Open source →
  11. 0.1.35 11 Jul 2025
    Release notes
    • Use toml instead of toml_edit.
    Open source →
  12. 0.1.34 22 Jun 2025
    Release notes
    • Support the [sources] table. (#31, thanks @Altair-Bueno)

    • Update windows-sys to 0.60.

    Open source →
  13. 0.1.33 07 Jun 2025
    Release notes
    • Add structs and fields for credential providers. (#25, #27, thanks @nox)

    • Change merge behavior of PathAndArgs to align Cargo 1.86's behavior change. (#26)

    Open source →
  14. 0.1.32 06 Jan 2025
    Release notes
    • Expose CargoNewConfig and HttpConfig. (69ecb94)
    Open source →
  15. 0.1.31 21 Dec 2024
    Release notes
    • Remove dependency on home to restore the MSRV on Windows.

    • Add home_dir, cargo_home_with_cwd, and rustup_home_with_cwd functions.

    Open source →
  16. 0.1.30 21 Dec 2024
    Release notes
    Open source →
  17. 0.1.29 01 Sep 2024
    Release notes
    • Support target.<triple>.rustdocflags that added in Cargo 1.78. Config::rustdocflags is a new recommended interface to get rustdocflags.
    Open source →
  18. 0.1.28 01 Sep 2024
    Release notes
    • Support the [cargo-new] table. (#21, thanks @ranger-ross)
    Open source →
  19. 0.1.27 19 Aug 2024
    Release notes
    • Support the [http] table. (#20, thanks @ranger-ross)
    Open source →
  20. 0.1.26 20 Apr 2024
    Release notes
    Open source →
  21. 0.1.25 17 Apr 2024
    Release notes
    • Respect rustc_wrapper and rustc_workspace_wrapper in Config::{rustc_version, host_triple} to match the Cargo's new behavior. (Other APIs such as Config::rustc are already respecting wrappers.)
    Open source →
  22. 0.1.24 09 Apr 2024
    Release notes
    • Fix bug when merging array fields in config.
    Open source →
  23. 0.1.23 29 Mar 2024
    Release notes
    • Fix Config::rustc when both rustc_wrapper and rustc_workspace_wrapper are set.
    Open source →
  24. 0.1.22 20 Mar 2024
    Release notes
    • Implement From<&PathAndArgs> for std::process::Command.
    Open source →
  25. 0.1.21 20 Mar 2024
    Release notes
    • Add {RustcVersion,CargoVersion}::major_minor.
    Open source →
  26. 0.1.20 20 Mar 2024
    Release notes
    • Add Config::{rustc_version, cargo_version}.
    Open source →
  27. 0.1.19 10 Feb 2024
    Release notes
    • Update toml_edit to 0.22.
    Open source →
  28. 0.1.18 25 Jan 2024
    Release notes
    • Make home dependency Windows-only dependency.
    Open source →
  29. 0.1.17 16 Dec 2023
    Release notes
    • Remove dependency on once_cell.
    Open source →
  30. 0.1.16 17 Nov 2023
    Release notes
    Open source →
  31. 0.1.15 24 Oct 2023
    Release notes
    • Improve compile time.
    Open source →
  32. 0.1.14 18 Oct 2023
    Release notes
    • Improve compile time.
    Open source →
  33. 0.1.13 17 Oct 2023
    Release notes
    • Improve compatibility with old Cargo.
    Open source →
  34. 0.1.12 14 Sep 2023
    Release notes
    • Improve robustness when new cfgs are added in the future.

    • Update toml to 0.8.

    Open source →
  35. 0.1.11 11 Sep 2023
    Release notes
    • Remove dependency on shell-escape.
    Open source →
  36. 0.1.10 08 Sep 2023
    Release notes
    • Remove dependency on cfg-expr.
    Open source →
  37. 0.1.9 22 Aug 2023
    Release notes
    • Recognize unstable target.cfg(relocation_model = "...") on nightly.
    Open source →
  38. 0.1.8 03 Jul 2023
    Release notes
    • Fix build error from dependency when built with -Z minimal-versions.
    Open source →
  39. 0.1.7 05 Apr 2023
    Release notes
    • Update cfg-expr to 0.15.
    Open source →
  40. 0.1.6 07 Mar 2023
    Release notes
    • Support the [registries] and [registry] tables. (#8, thanks @yottalogical)
    Open source →
  41. 0.1.5 23 Feb 2023
    Release notes
    • Fix handling of empty string rustc wrapper envs. (#7, thanks @tofay)
    Open source →
  42. 0.1.4 28 Jan 2023
    Release notes
    • Update cfg-expr to 0.14.

    • Update toml to 0.7.

    Open source →
  43. 0.1.3 24 Jan 2023
    Release notes
    • Migrate to toml 0.6. (#6)
    Open source →
  44. 0.1.2 10 Jan 2023
    Release notes
    • Improve error messages.

    • Add Config::cargo method.

    • Documentation improvements.

    Open source →
  45. 0.1.1 09 Jan 2023
    Release notes
    • Fix serde::Serialize impl of Config after target resolved.
    Open source →
  46. 0.1.0 09 Jan 2023
    Release notes

    Initial release

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive