Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 20-Jan-2022 | - | ||||
src/ | H | 20-Jan-2022 | - | 1,120 | 617 | |
tests/ | H | 20-Jan-2022 | - | 744 | 647 | |
.cargo-checksum.json | H A D | 03-May-2022 | 89 | 1 | 1 | |
Cargo.toml | H A D | 20-Jan-2022 | 1.1 KiB | 39 | 34 | |
LICENSE-MIT | H A D | 20-Jan-2022 | 1,023 | 24 | 21 | |
README.md | H A D | 20-Jan-2022 | 745 | 13 | 8 |
README.md
1# cargo_metadata 2 3Structured access to the output of `cargo metadata`. Usually used from within a `cargo-*` executable. 4 5Also supports serialization to aid in implementing `--message-format=json`-like 6output generation in `cargo-*` subcommands, since some of the types in what 7`cargo --message-format=json` emits are exactly the same as the ones from `cargo metadata`. 8 9[![Build Status](https://api.travis-ci.org/oli-obk/cargo_metadata.svg?branch=master)](https://travis-ci.org/oli-obk/cargo_metadata) 10[![crates.io](https://img.shields.io/crates/v/cargo_metadata.svg)](https://crates.io/crates/cargo_metadata) 11 12[Documentation](https://docs.rs/cargo_metadata/) - contains examples of use with `std::env::args`, `docopt`, `clap`, and `structopt`. 13