#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

27 releases

new 0.1.26 Feb 15, 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

#1236 in Parser implementations

Download history 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 46/week @ 2025-01-07 18/week @ 2025-01-14 62/week @ 2025-01-21 94/week @ 2025-01-28 161/week @ 2025-02-04 241/week @ 2025-02-11

560 downloads per month

Apache-2.0 OR MIT

48KB
980 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.5MB
~33K SLoC