#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

#765 in Parser implementations

Download history 15/week @ 2024-08-19 204/week @ 2024-08-26 182/week @ 2024-09-02 22/week @ 2024-09-09 164/week @ 2024-09-16 61/week @ 2024-09-23 105/week @ 2024-09-30 18/week @ 2024-10-07 7/week @ 2024-10-14 14/week @ 2024-10-21 115/week @ 2024-10-28 36/week @ 2024-11-04 16/week @ 2024-11-11 22/week @ 2024-11-18 11/week @ 2024-11-25 11/week @ 2024-12-02

65 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