cargo_nextest/lib.rs
1// Copyright (c) The nextest Contributors
2// SPDX-License-Identifier: MIT OR Apache-2.0
3
4//! cargo-nextest is a next-generation test runner for Rust.
5//!
6//! For documentation and usage, see [the nextest site](https://nexte.st).
7//!
8//! # Installation
9//!
10//! To install nextest binaries (quicker), see [_Pre-built
11//! binaries_](https://nexte.st/docs/installation/pre-built-binaries).
12//!
13//! To install from source, run:
14//!
15//! ```sh
16//! cargo install --locked cargo-nextest
17//! ```
18//!
19//! **The `--locked` flag is required.** Builds without `--locked` are not
20//! guaranteed to work.
21//!
22//! # Minimum supported Rust versions
23//!
24//! Nextest has two minimum supported Rust versions (MSRVs): one for _building_
25//! nextest itself, and one for _running tests_ with `cargo nextest run`.
26//!
27//! For more information about the MSRVs and the stability policy around them,
28//! see [_Minimum supported Rust
29//! versions_](https://nexte.st/docs/stability/#minimum-supported-rust-versions)
30//! on the nextest site.
31
32#![warn(missing_docs)]
33
34mod cargo_cli;
35mod dispatch;
36#[cfg(unix)]
37mod double_spawn;
38mod errors;
39mod helpers;
40mod output;
41mod reuse_build;
42#[cfg(feature = "self-update")]
43mod update;
44mod version;
45
46#[doc(hidden)]
47pub use dispatch::*;
48#[doc(hidden)]
49pub use errors::*;
50#[doc(hidden)]
51pub use output::OutputWriter;