#rustc #serialization #print #serde #structured #access #all-target-specs-json

target-spec-json

Structured access to rustc --print target-spec-json and --print all-target-specs-json

22 releases

0.1.21 Nov 2, 2024
0.1.19 Aug 28, 2024
0.1.18 Jul 31, 2024
0.1.14 Mar 12, 2024
0.1.1 Jul 18, 2023

#754 in Parser implementations

Download history 161/week @ 2024-07-28 35/week @ 2024-08-04 16/week @ 2024-08-11 14/week @ 2024-08-18 173/week @ 2024-08-25 202/week @ 2024-09-01 33/week @ 2024-09-08 155/week @ 2024-09-15 66/week @ 2024-09-22 108/week @ 2024-09-29 20/week @ 2024-10-06 8/week @ 2024-10-13 14/week @ 2024-10-20 91/week @ 2024-10-27 56/week @ 2024-11-03 18/week @ 2024-11-10

180 downloads per month

Apache-2.0 OR MIT

44KB
920 lines

target-spec-json

crates.io docs.rs license msrv github actions

Structured access to rustc --print target-spec-json and --print all-target-specs-json.

Usage

Add this to your Cargo.toml:

[dependencies]
target-spec-json = "0.1"

License

Licensed under either of Apache License, Version 2.0 or MIT license 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.

Dependencies

~0.7–1.6MB
~34K SLoC