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

target-spec-json

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

16 releases

0.1.15 Apr 7, 2024
0.1.14 Mar 12, 2024
0.1.10 Feb 8, 2024
0.1.7 Oct 30, 2023
0.1.1 Jul 18, 2023

#828 in Parser implementations

Download history 21/week @ 2024-01-21 1/week @ 2024-01-28 12/week @ 2024-02-04 5/week @ 2024-02-11 36/week @ 2024-02-18 40/week @ 2024-02-25 390/week @ 2024-03-03 217/week @ 2024-03-10 52/week @ 2024-03-17 8/week @ 2024-03-24 41/week @ 2024-03-31 345/week @ 2024-04-07 26/week @ 2024-04-14

429 downloads per month

Apache-2.0 OR MIT

42KB
909 lines

target-spec-json

crates.io docs.rs license rust version 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"

Compiler support: requires rustc 1.57+

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.4MB
~33K SLoC