# target-spec-json
[](https://crates.io/crates/target-spec-json)
[](https://docs.rs/target-spec-json)
[](#license)
[](https://www.rust-lang.org)
[](https://github.com/taiki-e/target-spec-json/actions)
Structured access to rustc `--print target-spec-json` and `--print all-target-specs-json`.
## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
target-spec-json = "0.1"
```
*Compiler support: requires rustc 1.57+*
## License
Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.