PackageTrack
Sign in Get early access

nextest-metadata

Structured access to nextest machine-readable output.

0.15.0 7.3M downloads/mo #3706 most downloaded on crates.io nextest-rs/nextest

What this package is like to depend on

Last release 19 days ago

04 Aug 2026

Release timing varies

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 35 of 35 stable releases

1 version withdrawn

withdrawn after publishing

5 years old

36 releases · first in 2022

8 releases in the last 12 months

see the full history below

Release timeline

36 releases · Feb 2022 to Aug 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 36
  1. 0.15.0 04 Aug 2026
    Release notes

    Added

    • A new build_platform field on RustNonTestBinarySummary records whether Cargo built the binary for the host or for the target. Future versions of nextest will use this to correctly configure environment variables depending on the build platform.
    • BuildPlatform now implements Hash, PartialOrd, and Ord. The order is Target before Host, though this isn't semantically meaningful.
    • MismatchReason::is_substantive_skip returns true if a skip reflects a real filtering decision, rather than a run-mode artifact such as a non-benchmark test excluded from a benchmark run.

    Changed

    • Documentation-only change: base_output_directories is now documented as being resolved against both of the following:

      • When joined with target_directory it is the Cargo artifact directory, where final artifacts like binaries and dynamic libraries are uplifted to.
      • When joined with build_directory plus deps, it is the legacy deps directory.

      This supersedes the note in 0.14.0 that described them as relative to the build directory alone.

    • MSRV updated to Rust 1.86.

    Open source →
  2. 0.14.1 14 Apr 2026
    Release notes

    Added

    • A new GLOBAL_TEST_GROUP constant ("@global"), representing the implicit global test group that all tests belong to unless assigned to a custom group.
    Open source →
  3. 0.14.0 17 Mar 2026
    Release notes

    Added

    • A new build_directory field on RustBuildMetaSummary. When Cargo's build.build-dir is configured, the build directory (for intermediate artifacts) differs from the target directory. This is None when parsing metadata from older nextest versions, in which case consumers should treat it as equal to target_directory.
    • A new build_script_info field on RustBuildMetaSummary, keyed by package ID. This is None when parsing metadata from older nextest versions.
      • The values of this map are BuildScriptInfoSummary structs, which currently contain an envs field consisting of environment variables set by cargo::rustc-env directives.

    Changed

    • base_output_directories, build_script_out_dirs, and linked_paths are now documented as relative to the build directory rather than the target directory.
    Open source →
  4. 0.13.3 25 Jan 2026
    Release notes

    Added

    • MismatchReason::ALL_VARIANTS iterates over all known variants of MismatchReason.
    Open source →
  5. 0.13.2 21 Jan 2026
    Release notes

    Added

    • NextestExitCode::RERUN_TESTS_OUTSTANDING indicates that all tests passed during a rerun, but there are still outstanding tests that were known to have failed earlier.
    • For test filtering, MismatchReason::RerunAlreadyPassed, indicating that the test run already passed.
    • With the proptest1 feature, impl Arbitrary for TestCaseName.
    Open source →
  6. 0.13.1 18 Jan 2026
    Release notes

    Added

    • New proptest1 feature enables proptest Arbitrary implementations for RustBinaryId and MismatchReason.
    Open source →
  7. 0.13.0 01 Jan 2026
    Release notes

    Changed

    • A new TestCaseName newtype wraps test case identifiers, providing type safety and utility methods:

      • components() splits the name on :: to yield module path components.
      • module_path_and_name() extracts the module path prefix and trailing name.
    • RustTestCaseSummary now includes a kind field of type Option<RustTestKind>, distinguishing between tests (#[test]) and benchmarks (#[bench]). This field is None when parsing output from older nextest versions.

    Open source →
  8. 0.12.3 30 Oct 2025
    Release notes

    Added

    • New exit code constant NextestExitCode::OK = 0 for successful execution.
    Open source →
  9. 0.12.2 24 Feb 2025
    Release notes

    Added

    RustTestBinaryKind::EXAMPLE is the string "example".

    Changed

    MSRV updated to Rust 1.78.

    Open source →
  10. 0.12.1 05 Sep 2024
    Release notes

    Internal dependency updates.

    Open source →
  11. 0.12.0 28 Aug 2024
    Release notes

    Changed

    • Renamed references from "default-set" to "default-filter" to match cargo-nextest changes.

    Removed

    • NextestExitCode::INVALID_FILTER_EXPRESSION has been renamed to INVALID_FILTERSET.
    Open source →
  12. 0.11.3 25 Aug 2024
    Release notes

    Changed

    • NextestExitCode::INVALID_FILTER_EXPRESSION has been renamed to NextestExitCode::INVALID_FILTERSET. The old name is kept around as a deprecated alias -- it will be removed in the next major version.
    Open source →
  13. 0.11.2 23 Aug 2024
    Release notes

    Added

    • New exit code NO_TESTS_RUN = 4, indicating no tests to run.
    • Support for a new mismatch reason for tests and binaries: that they are not in the default set.
    Open source →
  14. 0.11.0 23 May 2024
    Release notes

    Added

    • RustBuildMetaSummary now has a new platforms field, which contains information about host and target platforms. This field is provided by cargo-nextest 0.9.71 and above.

    Changed

    • MSRV updated to Rust 1.73.
    • RustBuildMetaSummary::target_platforms is now deprecated -- use RustBuildMetaSummary::platforms if available.
    Open source →
  15. 0.10.0 10 Dec 2023
    Release notes

    Added

    • RustBuildMetaSummary has a new field called build_script_out_dirs. This is a map of workspace package IDs to their corresponding build script OUT_DIRs.

    Misc

    • The .crate files uploaded to crates.io now contain the LICENSE-APACHE and LICENSE-MIT license files. Thanks @musicinmybrain for your first contribution!
    Open source →
  16. 0.9.3 03 Dec 2023
    Release notes

    Added

    • New method RustBinaryId::from_parts to construct a RustBinaryId from its constituent parts.
    • Stabilized and documented the binary ID format.
    Open source →
  17. 0.9.2 27 Sep 2023
    Release notes

    Added

    • New exit code SETUP_SCRIPT_FAILED: A setup script failed to execute.

    Changed

    • MSRV updated to Rust 1.70.
    Open source →
  18. 0.9.1 30 Jul 2023
    Release notes

    Added

    • New exit codes:
      • REQUIRED_VERSION_NOT_MET: The current version of nextest did not meet repository or tool requirements.
      • RECOMMENDED_VERSION_NOT_MET: The current version of nextest is older than the minimum recommended version. (This is an advisory code, only generated by cargo nextest show-config version).
    Open source →
  19. 0.9.0 26 Jun 2023
    Release notes

    Changed

    • target-spec updated to version 3. This version includes support for custom platforms.
    Open source →
  20. 0.8.2 09 Apr 2023
    Release notes

    Fixed

    • ListCommand was previously broken: it now uses --message-format correctly. Thanks Donny/강동윤 for your first contribution!

    Changed

    • MSRV updated to Rust 1.66.
    Open source →
  21. 0.8.0 03 Jan 2023
    Release notes

    Added

    • A new wrapper for test binary IDs, RustBinaryId. This wrapper has a custom Ord implementation to ensure that binary IDs are sorted in a reasonable way for cargo nextest list output.

    Changed

    • Existing uses of test binary IDs have been changed from String to RustBinaryId.
    • MSRV updated to Rust 1.64.
    Open source →
  22. 0.7.2 23 Nov 2022
    Release notes

    Added

    • A new exit code, DOUBLE_SPAWN_ERROR, indicates that an error was encountered while attempting to double-spawn a test process.

    Changed

    • MSRV updated to Rust 1.62.
    Open source →
  23. 0.7.1 23 Nov 2022
    Release notes

    (This version was not published due to a code issue.)

    Open source →
  24. 0.7.0 25 Oct 2022
    Release notes

    Added

    • RustBuildMetaSummary has a new target-platforms field, which records information about a list of cross-compilation target platforms. This is to prepare for future support for multiple --target arguments (#537).

      This field is optional, which means that the minimum supported nextest version hasn't been bumped with this release.

    Open source →
  25. 0.6.0 17 Aug 2022
    Release notes

    Added

    • RustBuildMetaSummary has a new target-platform field which records the target platform. (This field is optional, which means that the minimum supported nextest version hasn't been bumped with this release.)
    Open source →
  26. 0.5.0 14 Jul 2022
    Release notes

    (This change was included in 0.4.4, which should have been a breaking change.)

    Changed

    • RustTestSuiteSummary::testcases renamed to test_cases.
    Open source →
  27. 0.4.4 13 Jul 2022 withdrawn
    Release notes

    Added

    • RustTestSuiteSummary has a new field status, which is a newtype over strings:
      • "listed": the test binary was executed with --list to gather the list of tests in it.
      • "skipped": the test binary was not executed because it didn't match any expression filters.
    Open source →
  28. 0.4.3 26 Jun 2022
    Release notes

    Added

    Open source →
  29. 0.4.2 13 Jun 2022
    Release notes

    Added

    • New documented exit codes related to self-updates:
      • UPDATE_ERROR
      • UPDATE_AVAILABLE
      • UPDATE_DOWNGRADE_NOT_PERFORMED
      • UPDATE_CANCELED
      • SELF_UPDATE_UNAVAILABLE
    Open source →
  30. 0.4.1 07 Jun 2022
    Release notes

    Added

    Open source →
  31. 0.4.0 31 May 2022
    Release notes

    Added

    • Support for archiving test binaries:
      • Non-test binaries and dynamic libraries are now recorded to RustBuildMetaSummary.

    Changed

    • Minimum supported nextest version bumped to 0.9.15.
    • MSRV bumped to 1.59.
    Open source →
  32. 0.3.1 17 Apr 2022
    Release notes

    Added

    • New exit code: INVALID_FILTER_EXPRESSION.
    Open source →
  33. 0.3.0 22 Mar 2022
    Release notes

    Added

    • TestListSummary and BinaryListSummary have a new member called rust_build_meta key. This key currently contains the target directory, the base output directories, and paths to search for dynamic libraries in relative to the target directory.

    Changed

    • MSRV bumped to Rust 1.56.
    Open source →
  34. 0.2.1 10 Mar 2022
    Release notes

    Add documentation about nextest-metadata's "minimum supported cargo-nextest version".

    Open source →
  35. 0.2.0 08 Mar 2022
    Release notes

    Thanks to Guiguiprim for their contributions to this release!

    This release is compatible with cargo-nextest 0.9.10 and later.

    Added

    • Lists now contain the build-platform variable, introduced in cargo-nextest 0.9.10.
    • Support for listing binaries without querying them for the tests they contain.

    Changed

    • Fields common to test and binary lists have been factored out into a separate struct, RustTestBinarySummary. The struct is marked with #[serde(flatten)] so the JSON representation stays the same.
    Open source →
  36. 0.1.0 13 Feb 2022
    Release notes
    • Initial version, with support for listing tests.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive