autocfg
Automatic cfg for Rust compiler features
1.5.1
1.2B downloads/mo
#24 most downloaded on crates.io
cuviper/autocfg
What this package is like to depend on
Last release 3 months ago
22 May 2026
Release timing varies
gaps range from 5 weeks to 2.1 years
This project publishes no release notes
the list below is its commits, not an announcement
1 version withdrawn
withdrawn after publishing
8 years old
18 releases · first in 2018
1 release in the last 12 months
see the full history below
Release timeline
18 releases · May 2018 to May 2026Releases
latest 18-
1.5.122 May 2026Commits, not release notes
This project publishes no release notes. Between
1.5.0and1.5.1there were 4 commits, 2 of them substantive:- Make
tests/wrapperswork without a script - ci: extend the tested versions
- Make
-
1.5.017 Jun 2025Commits, not release notes
This project publishes no release notes. Between
1.4.0and1.5.0there were 8 commits, 3 of them substantive:- Remove probe output files
- Fix clippy::nonminimal_bool
- Add methods to get/set the edition
-
1.4.027 Sep 2024Commits, not release notes
This project publishes no release notes. Between
1.3.0and1.4.0there were 14 commits, 9 of them substantive:- Add randomization to probe crate names
- Use
CARGO_TARGET_TMPDIRin integration tests - Follow the exe for OUT_DIR in doc tests
- Automatically emit
rustc-check-cfgdirectives for AutoCfg - Fix minor doc issues
- Have emit_has methods delegate wherever possible
- Add ci test crate for check-cfg
- Attempt rust 1.0 compat for ci/verify-check-cfg
- Apply suggestions from code review
-
1.3.003 May 2024Commits, not release notes
This project publishes no release notes. Between
1.2.0and1.3.0there were 7 commits, 3 of them substantive:- Add
AutoCfg::probe_rawfor free-form probes - Fix the probe_raw test on no_std
- Wrapper enhancements
- Add
-
1.2.025 Mar 2024Commits, not release notes
This project publishes no release notes. Between
1.1.0and1.2.0there were 27 commits, 22 of them substantive:- Update to actions/checkout@v3
- Switch from actions-rs/toolchain to dtolnay/rust-toolchain
- Switch from actions-rs/cargo to plain run
- Stop explicitly naming CI steps
- Add 1.60.0 to the test matrix
- Merge #45
- Update to actions/checkout@v3
- Upgrade license links to https
- Add documentation link to Cargo.toml
- Merge #48
- Merge #47
- fixes clippy issues
- Merge #50
- Consolidate CI into one workflow
- Upgrade CI to actions/checkout@v4
- Update CI toolchains
- Set
rust-version = "1.0" - Add a summary CI job
- Add getter
no_std()and setterset_no_std(bool) - Use consistent verb form in docs
…and 2 more.
-
1.1.007 Feb 2022Commits, not release notes
This project publishes no release notes. Between
1.0.1and1.1.0there were 4 commits, 3 of them substantive:- Use CARGO_ENCODED_RUSTFLAGS when it is set
- Add more CI versions
- Merge #39
-
1.0.121 Aug 2020Commits, not release notes
This project publishes no release notes. Between
1.0.0and1.0.1there were 11 commits, 10 of them substantive:- Switch to GitHub Actions
- Merge #21
- Move master to its own cron'ed workflow
- Fix the master cron
- Use TESTS_TARGET_DIR envvar to override tests target dir
- Merge #22
- Exclude CI files from the package
- Try to determine if --target was passed to Cargo
- Factor out code to detect if dir contains target to make it amenable to unit tests.
- Merge #25
-
1.0.009 Jan 2020Commits, not release notes
This project publishes no release notes. Between
0.1.8and1.0.0there were 12 commits, 7 of them substantive:- Compatible with cargo --remap-path-prefix
- Use the test's current_exe() to find the target dir
- Add a caution about probe templates
- Simplify conditional tests
- Add probe_expression and probe_constant
- Update dependency examples for 1.0
- Add 1.40 to CI
-
0.1.807 Feb 2022Nothing published for this version
-
0.1.720 Oct 2019Nothing published for this version
-
0.1.619 Aug 2019Nothing published for this version
-
0.1.516 Jul 2019Nothing published for this version
-
0.1.422 May 2019Nothing published for this version
-
0.1.322 May 2019 withdrawnNothing published for this version
-
0.1.217 Jan 2019Nothing published for this version
-
0.1.112 Oct 2018Nothing published for this version
-
0.1.012 Oct 2018Nothing published for this version
-
0.0.130 May 2018Nothing published for this version