From 6bd3a7562d345d24d323883b2d88420b46d39b7e Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 6 Nov 2024 20:40:37 -0600 Subject: [PATCH] docs: Declare build-rs as intentional --- crates/build-rs/README.md | 2 ++ crates/build-rs/src/lib.rs | 3 +++ src/doc/contrib/src/team.md | 1 + 3 files changed, 6 insertions(+) create mode 100644 crates/build-rs/README.md diff --git a/crates/build-rs/README.md b/crates/build-rs/README.md new file mode 100644 index 000000000000..844bc081f707 --- /dev/null +++ b/crates/build-rs/README.md @@ -0,0 +1,2 @@ +> This crate is maintained by the Cargo team for use by the wider +> ecosystem. This crate follows semver compatibility for its APIs. diff --git a/crates/build-rs/src/lib.rs b/crates/build-rs/src/lib.rs index 4f74da993567..56a0df3e820a 100644 --- a/crates/build-rs/src/lib.rs +++ b/crates/build-rs/src/lib.rs @@ -1,6 +1,9 @@ //! build-rs provides a strongly typed interface around the Cargo build script //! protocol. Cargo provides inputs to the build script by environment variable //! and accepts commands by printing to stdout. +//! +//! > This crate is maintained by the Cargo team for use by the wider +//! > ecosystem. This crate follows semver compatibility for its APIs. #![cfg_attr(all(doc, feature = "unstable"), feature(doc_auto_cfg, doc_cfg))] #![allow(clippy::disallowed_methods)] // HACK: deferred resoling this #![allow(clippy::print_stdout)] // HACK: deferred resoling this diff --git a/src/doc/contrib/src/team.md b/src/doc/contrib/src/team.md index 677138560f02..ae4cd453e09d 100644 --- a/src/doc/contrib/src/team.md +++ b/src/doc/contrib/src/team.md @@ -170,6 +170,7 @@ The degree of process is correlated with the degree of change being proposed: Per the [Rust crate ownership policy](https://forge.rust-lang.org/policies/crate-ownership.html), the Cargo team's "Intentional Artifacts" include: +- [build-rs](https://crates.io/crates/build-rs) - [cargo-credential](https://crates.io/crates/cargo-credential) - [cargo-platform](https://crates.io/crates/cargo-platform) - [cargo-util-schemas](https://crates.io/crates/cargo-util-schemas)