logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Generate Cargo Metadata - Inspect Rust Packages | Online Free DevTools by Hexmos

Generate Cargo metadata to inspect Rust packages and dependencies. Analyze workspace members, resolve dependencies, and customize output formats. Free online tool, no registration required.

cargo-metadata

Output the workspace members and resolved dependencies of current package as JSON. Note: The output format is subject to change in future versions of Cargo. More information: https://doc.rust-lang.org/cargo/commands/cargo-metadata.html.

  • Print the workspace members and resolved dependencies of the current package:

cargo metadata

  • Print only the workspace members and do not fetch dependencies:

cargo metadata --no-deps

  • Print metadata in a specific format based on the specified version:

cargo metadata --format-version {{version}}

  • Print metadata with the resolve field including dependencies only for the given target triple (Note: The packages array will still include the dependencies for all targets):

cargo metadata --filter-platform {{target_triple}}

See Also