https://github.com/taiki-e/target-spec-json
Structured access to rustc --print target-spec-json and --print all-target-specs-json.
https://github.com/taiki-e/target-spec-json
rust
Last synced: about 1 year ago
JSON representation
Structured access to rustc --print target-spec-json and --print all-target-specs-json.
- Host: GitHub
- URL: https://github.com/taiki-e/target-spec-json
- Owner: taiki-e
- License: apache-2.0
- Created: 2023-07-15T15:10:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-15T02:55:13.000Z (about 2 years ago)
- Last Synced: 2024-05-15T20:21:39.689Z (about 2 years ago)
- Topics: rust
- Language: Rust
- Homepage: https://docs.rs/target-spec-json
- Size: 293 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# 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"
```
## 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.