#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

23 releases

new 0.1.22 Jan 4, 2025
0.1.21 Nov 2, 2024
0.1.20 Sep 6, 2024
0.1.18 Jul 31, 2024
0.1.1 Jul 18, 2023

#1132 in Parser implementations

Download history 112/week @ 2024-09-17 69/week @ 2024-09-24 95/week @ 2024-10-01 17/week @ 2024-10-08 7/week @ 2024-10-15 13/week @ 2024-10-22 124/week @ 2024-10-29 32/week @ 2024-11-05 13/week @ 2024-11-12 21/week @ 2024-11-19 11/week @ 2024-11-26 12/week @ 2024-12-03 21/week @ 2024-12-10 14/week @ 2024-12-17 145/week @ 2024-12-31

182 downloads per month

Apache-2.0 OR MIT

44KB
922 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
~35K SLoC