1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
# nextest-metadata
[](https://crates.io/crates/nextest-metadata)
[](https://docs.rs/nextest-metadata/)
[](https://nexte.st/rustdoc/nextest_metadata/)
[](CHANGELOG.md)
[](LICENSE-APACHE)
[](LICENSE-MIT)
This crate contains deserializers for machine-readable output generated by
[cargo-nextest](https://nexte.st).
Implemented so far:
* ✅ Listing tests with `TestListSummary`
* ✅ Semantic exit codes with `NextestExitCode`
## Examples
Get the list of tests in the repository:
```rust
// This example requires `cargo nextest` to be installed.
use nextest_metadata::ListCommand;
let command = ListCommand::new();
let test_list = command.exec().unwrap();
// The result is a TestListSummary.
println!("{:?}", test_list);
```
## Minimum supported Rust version (MSRV)
The minimum supported Rust version is **Rust 1.78.**
While this crate is a pre-release (0.x.x) it may have its MSRV bumped in a patch release. Once a
crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
## Minimum supported cargo-nextest version
The "minimum supported cargo-nextest version" is **cargo-nextest 0.9.15**.
For more about nextest-metadata's stability policy, see the [Stability
page](https://nexte.st/docs/stability/#nextest-metadata) on the nextest site.
## Contributing
See the [contributing guide](https://nexte.st/docs/contributing/) for how to help out.
## License
This project is available under the terms of either the [Apache 2.0 license](../LICENSE-APACHE) or
the [MIT license](../LICENSE-MIT).
<!--
README.md is generated from README.tpl by cargo readme. To regenerate, run from the repository root:
./scripts/regenerate-readmes.sh
-->
|