#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

28 releases

0.1.27 Feb 25, 2025
0.1.23 Jan 27, 2025
0.1.21 Nov 2, 2024
0.1.18 Jul 31, 2024
0.1.1 Jul 18, 2023

#1226 in Parser implementations

Download history 16/week @ 2024-11-13 18/week @ 2024-11-20 11/week @ 2024-11-27 13/week @ 2024-12-04 22/week @ 2024-12-11 10/week @ 2024-12-18 152/week @ 2025-01-01 46/week @ 2025-01-08 13/week @ 2025-01-15 88/week @ 2025-01-22 135/week @ 2025-01-29 145/week @ 2025-02-05 207/week @ 2025-02-12 186/week @ 2025-02-19 139/week @ 2025-02-26

746 downloads per month

Apache-2.0 OR MIT

48KB
982 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.6–1.5MB
~33K SLoC