Docs(crates/cargo-test-*): Add external usage warning

As discussed in #10147.

Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
This commit is contained in:
Paul Mabileau 2024-02-26 21:41:48 +01:00
parent 29c45d0e66
commit f422e96b31
No known key found for this signature in database
GPG Key ID: FC16B37F6782B0AA
4 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,5 @@
WARNING: You might not want to use this outside of Cargo.
* This is designed for testing Cargo itself. Use at your own risk.
* No guarantee on any stability across versions.
* No feature request would be accepted unless proved useful for testing Cargo.

View File

@ -1,3 +1,14 @@
//! # Cargo test macro.
//!
//! This is meant to be consumed alongside `cargo-test-support`. See
//! <https://rust-lang.github.io/cargo/contrib/> for a guide on writing tests.
//!
//! WARNING: You might not want to use this outside of Cargo.
//!
//! * This is designed for testing Cargo itself. Use at your own risk.
//! * No guarantee on any stability across versions.
//! * No feature request would be accepted unless proved useful for testing Cargo.
use proc_macro::*;
use std::path::Path;
use std::process::Command;

View File

@ -0,0 +1,5 @@
WARNING: You might not want to use this outside of Cargo.
* This is designed for testing Cargo itself. Use at your own risk.
* No guarantee on any stability across versions.
* No feature request would be accepted unless proved useful for testing Cargo.

View File

@ -1,6 +1,12 @@
//! # Cargo test support.
//!
//! See <https://rust-lang.github.io/cargo/contrib/> for a guide on writing tests.
//!
//! WARNING: You might not want to use this outside of Cargo.
//!
//! * This is designed for testing Cargo itself. Use at your own risk.
//! * No guarantee on any stability across versions.
//! * No feature request would be accepted unless proved useful for testing Cargo.
#![allow(clippy::disallowed_methods)]
#![allow(clippy::print_stderr)]