Portable and language managers
cargo install cargo-expandlocal crates.io package metadata
cargo / rank 225
Wrapper around rustc -Zunpretty=expanded. Shows the result of macro expansion and #[derive] expansion. Version 1.0.123 via Cargo; verified 2026-06-16.
install
cargo install cargo-expandlocal crates.io package metadata
overview
Wrapper around rustc -Zunpretty=expanded. Shows the result of macro expansion and #[derive] expansion.
security posture
No matching local secret-handling manifest was found for cargo-expand. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cargo-expand | binary | cargo-installed executable | Declared by crates.io version metadata. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | cargo:cargo-expand |
|---|---|
| Version | 1.0.123 |
| Package manager | Cargo |
| Package manager page | https://crates.io/crates/cargo-expand |
| Repository | https://github.com/dtolnay/cargo-expand |
| Upstream docs | https://github.com/dtolnay/cargo-expand |
| License | MIT OR Apache-2.0 |
| Source archive | https://static.crates.io/crates/cargo-expand/cargo-expand-1.0.123.crate |
| Last updated | 2026-06-16 16:01:35.240838+00 |
| Published | 2026-06-16 16:01:35.240838+00 |
| Bottle | not recorded |
| Service | none declared |
registry facts
| Source Database | crates.io database dump |
|---|---|
| Crate ID | 5,289 |
| Crate Size | 33,078 |
| Edition | 2021 |
| Executable Intent | |
| Has Lib | no |
| Num Versions | 178 |
| Recent Download Window Days | 90 |
| Rust Version | 1.88 |
| Version ID | 2,587,692 |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cargo-expand
nix profile install nixpkgs#cargo-expandcargo-expand 1.0.122-r0
Cargo subcommand to show result of macro expansion
https://github.com/dtolnay/cargo-expand
sudo apk add cargo-expandcargo-expand-doc 1.0.122-r0
Cargo subcommand to show result of macro expansion (documentation)
https://github.com/dtolnay/cargo-expand
sudo apk add cargo-expand-doccargo-expand 1.0.122-1
Subcommand to show result of macro expansion
https://github.com/dtolnay/cargo-expand
sudo pacman -S cargo-expandsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.