#miette #platform #targets #cargo #target

target-spec-miette

Integrate target-spec errors with the miette library

7 unstable releases

new 0.4.4 Dec 26, 2024
0.4.3 Dec 26, 2024
0.4.0 Feb 5, 2024
0.3.0 Jun 26, 2023
0.1.0 Oct 25, 2022

#1246 in Development tools

Download history 12974/week @ 2024-09-05 11749/week @ 2024-09-12 13129/week @ 2024-09-19 13517/week @ 2024-09-26 15480/week @ 2024-10-03 13008/week @ 2024-10-10 12120/week @ 2024-10-17 14548/week @ 2024-10-24 13028/week @ 2024-10-31 24336/week @ 2024-11-07 25910/week @ 2024-11-14 27503/week @ 2024-11-21 22050/week @ 2024-11-28 30541/week @ 2024-12-05 28862/week @ 2024-12-12 23330/week @ 2024-12-19

109,584 downloads per month
Used in 13 crates (via nextest-runner)

MIT/Apache

120KB
2K SLoC

target-spec-miette

target-spec-miette on crates.io Documentation (latest release) Documentation (main) Changelog License License

Integrate target-spec errors with miette.

This crate has implementations of Diagnostic for the various kinds of errors that target-spec produces. This can be used to pretty-print errors returned by target-spec.

Features

  • fixtures: Include a set of fixtures for testing downstream users against. This feature is disabled by default.

Minimum supported Rust version

The minimum supported Rust version (MSRV) is Rust 1.78.

While this crate is in pre-release status (0.x), the MSRV may be bumped in patch releases.

Contributing

See the CONTRIBUTING file for how to help out.

License

This project is available under the terms of either the Apache 2.0 license or the MIT license.

Dependencies

~2–2.7MB
~50K SLoC