crates.io · crates:cfg-expr
cfg-expr active
A parser and evaluator for Rust `cfg()` expressions.
The latest stable version of cfg-expr is 0.20.11, published on 2026-11-13. Verified by Vigia on 2026-11-27.
| Latest stable version | 0.20.11 |
|---|---|
| Published | 2026-11-13 10:28:02 UTC |
| Install | cargo add cfg-expr |
| Minimum Rust version (rust-version) | Rust ≥ 1.85.0 |
| License | MIT OR Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-11-27 03:43:08 UTC |
| Sources | api.osv.dev, crates.io |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the crates package "cfg-expr", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/crates/cfg-expr . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-11-13 10:28:02 UTC · 13 days ago |
| Stable releases in the last 12 months | 7 |
| Published versions | 53 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
0.20.11 | 2026-11-13 10:28:02 UTC |
0.20.10 | 2026-10-01 16:29:56 UTC |
0.20.9 | 2026-08-22 08:55:06 UTC |
0.20.8 | 2026-05-29 07:49:26 UTC |
0.20.7 | 2026-03-06 00:18:24 UTC |
0.20.6 | 2026-01-22 19:03:17 UTC |
0.20.5 | 2025-12-12 14:39:07 UTC |
0.20.4 | 2025-10-31 11:00:12 UTC |
0.20.3 | 2025-09-18 15:54:21 UTC |
0.20.2 | 2025-08-07 20:40:31 UTC |
0.20.1 | 2025-07-07 12:49:10 UTC |
0.20.0 | 2025-05-16 06:44:41 UTC |
0.19.0 | 2025-04-03 11:35:05 UTC |
0.18.0 | 2025-02-20 17:37:11 UTC |
0.17.2 | 2024-11-29 15:35:00 UTC |
0.17.1 | 2024-11-15 11:24:08 UTC |
0.17.0 | 2024-09-05 22:43:07 UTC |
0.16.0 | 2024-07-29 08:38:30 UTC |
0.15.8 | 2024-04-10 15:13:47 UTC |
0.15.7 | 2024-02-09 07:00:57 UTC |
Showing the 20 most recent of 53 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
rust 1.63 | 0.15.4 |
rust 1.70 | 0.18.0 |
rust 1.75 | 0.18.0 |
rust 1.80 | 0.18.0 |
rust 1.85 | 0.20.11 |
rust 1.90 | 0.20.11 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of cfg-expr?
The latest stable version of cfg-expr is 0.20.11, published on 2026-11-13. Verified by Vigia on 2026-11-27.
How do I install the latest version of cfg-expr?
Run cargo add cfg-expr. The latest stable version is 0.20.11 (verified 2026-11-27).
Is cfg-expr deprecated?
No. cfg-expr is not marked as deprecated in the registry.
Which Rust version does cfg-expr require?
cfg-expr 0.20.11 declares this requirement: Rust ≥ 1.85.0.
Does cfg-expr 0.20.11 have known vulnerabilities?
No known advisories affect cfg-expr 0.20.11 according to the data Vigia checks.
Is cfg-expr still maintained?
cfg-expr published 7 stable releases in the last 12 months; the most recent was 13 days ago. Activity: active.
Observed changes
- Fri Nov 13 2026 15:41:47 GM +0000 (Coordinated Universal Time) — released 0.20.10 → 0.20.11
Related packages
- metrics
- ordered-multimap
- inflector
- snafu-derive
- hdrhistogram
- snafu
- gloo-timers
- insta
- widestring
- objc2-core-foundation
- config
- dlv-list
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/crates/cfg-expr) [](https://vigia.coredls.cloud/crates/cfg-expr) [](https://vigia.coredls.cloud/crates/cfg-expr)
For agents
GET https://vigia.coredls.cloud/v1/packages/crates/cfg-expr
GET https://vigia.coredls.cloud/v1/packages/crates/cfg-expr/versions/{version}