This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 570af8a1b2 Use `doc_cfg` instead of removed `doc_auto_cfg` (#8494)
570af8a1b2 is described below
commit 570af8a1b2af45bf80ea6468396316affe58bc91
Author: Matthijs Brobbel <[email protected]>
AuthorDate: Tue Sep 30 21:18:08 2025 +0200
Use `doc_cfg` instead of removed `doc_auto_cfg` (#8494)
# Which issue does this PR close?
None.
# Rationale for this change
Removed in https://github.com/rust-lang/rust/pull/138907, included in
`doc_cfg`
# What changes are included in this PR?
Use `doc_cfg` instead of removed `doc_auto_cfg`.
# Are these changes tested?
Test locally with:
`cargo +nightly docs-rs`
# Are there any user-facing changes?
No
---
arrow-arith/src/lib.rs | 2 +-
arrow-array/src/lib.rs | 2 +-
arrow-avro/src/lib.rs | 2 +-
arrow-buffer/src/lib.rs | 2 +-
arrow-cast/src/lib.rs | 2 +-
arrow-csv/src/lib.rs | 2 +-
arrow-data/src/lib.rs | 2 +-
arrow-flight/src/lib.rs | 2 +-
arrow-integration-test/src/lib.rs | 2 +-
arrow-ipc/src/lib.rs | 2 +-
arrow-json/src/lib.rs | 2 +-
arrow-ord/src/lib.rs | 2 +-
arrow-row/src/lib.rs | 2 +-
arrow-schema/src/lib.rs | 2 +-
arrow-select/src/lib.rs | 2 +-
arrow-string/src/lib.rs | 2 +-
arrow/src/lib.rs | 2 +-
parquet/src/lib.rs | 2 +-
parquet_derive/src/lib.rs | 2 +-
parquet_derive_test/src/lib.rs | 2 +-
20 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/arrow-arith/src/lib.rs b/arrow-arith/src/lib.rs
index 63640c51c3..035519ed99 100644
--- a/arrow-arith/src/lib.rs
+++ b/arrow-arith/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod aggregate;
#[doc(hidden)] // Kernels to be removed in a future release
diff --git a/arrow-array/src/lib.rs b/arrow-array/src/lib.rs
index 91696540d2..86c1c6550c 100644
--- a/arrow-array/src/lib.rs
+++ b/arrow-array/src/lib.rs
@@ -225,7 +225,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(rustdoc::broken_intra_doc_links)]
#![warn(missing_docs)]
diff --git a/arrow-avro/src/lib.rs b/arrow-avro/src/lib.rs
index ff3e8125e2..cf2d5bfbb2 100644
--- a/arrow-avro/src/lib.rs
+++ b/arrow-avro/src/lib.rs
@@ -222,7 +222,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
#![allow(unused)] // Temporary
diff --git a/arrow-buffer/src/lib.rs b/arrow-buffer/src/lib.rs
index 7b82f0b91b..4d638c85c6 100644
--- a/arrow-buffer/src/lib.rs
+++ b/arrow-buffer/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod alloc;
diff --git a/arrow-cast/src/lib.rs b/arrow-cast/src/lib.rs
index b042a73385..3412616c5c 100644
--- a/arrow-cast/src/lib.rs
+++ b/arrow-cast/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod cast;
pub use cast::*;
diff --git a/arrow-csv/src/lib.rs b/arrow-csv/src/lib.rs
index fd2f0d3d98..4754a8b397 100644
--- a/arrow-csv/src/lib.rs
+++ b/arrow-csv/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod reader;
diff --git a/arrow-data/src/lib.rs b/arrow-data/src/lib.rs
index a023b1d98c..07e7553b2b 100644
--- a/arrow-data/src/lib.rs
+++ b/arrow-data/src/lib.rs
@@ -23,7 +23,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
mod data;
pub use data::*;
diff --git a/arrow-flight/src/lib.rs b/arrow-flight/src/lib.rs
index c527b57d16..99f2a2ed46 100644
--- a/arrow-flight/src/lib.rs
+++ b/arrow-flight/src/lib.rs
@@ -41,7 +41,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![allow(rustdoc::invalid_html_tags)]
#![warn(missing_docs)]
// The unused_crate_dependencies lint does not work well for crates defining
additional examples/bin targets
diff --git a/arrow-integration-test/src/lib.rs
b/arrow-integration-test/src/lib.rs
index 78a49f32bb..5bf7427b8c 100644
--- a/arrow-integration-test/src/lib.rs
+++ b/arrow-integration-test/src/lib.rs
@@ -25,7 +25,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
use arrow_buffer::{IntervalDayTime, IntervalMonthDayNano, ScalarBuffer};
use hex::decode;
diff --git a/arrow-ipc/src/lib.rs b/arrow-ipc/src/lib.rs
index 2798f1f10b..d25e231022 100644
--- a/arrow-ipc/src/lib.rs
+++ b/arrow-ipc/src/lib.rs
@@ -42,7 +42,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod convert;
pub mod reader;
diff --git a/arrow-json/src/lib.rs b/arrow-json/src/lib.rs
index 12ad5efa37..f5a38bb7fc 100644
--- a/arrow-json/src/lib.rs
+++ b/arrow-json/src/lib.rs
@@ -67,7 +67,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(rustdoc::broken_intra_doc_links)]
#![warn(missing_docs)]
diff --git a/arrow-ord/src/lib.rs b/arrow-ord/src/lib.rs
index 99b0451992..9388007826 100644
--- a/arrow-ord/src/lib.rs
+++ b/arrow-ord/src/lib.rs
@@ -47,7 +47,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod cmp;
#[doc(hidden)]
diff --git a/arrow-row/src/lib.rs b/arrow-row/src/lib.rs
index 975fffbbef..db7758047c 100644
--- a/arrow-row/src/lib.rs
+++ b/arrow-row/src/lib.rs
@@ -157,7 +157,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
use std::cmp::Ordering;
use std::hash::{Hash, Hasher};
diff --git a/arrow-schema/src/lib.rs b/arrow-schema/src/lib.rs
index 785f2f5516..1eeeb4d106 100644
--- a/arrow-schema/src/lib.rs
+++ b/arrow-schema/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
mod datatype;
diff --git a/arrow-select/src/lib.rs b/arrow-select/src/lib.rs
index f755a05e3d..8dd881145a 100644
--- a/arrow-select/src/lib.rs
+++ b/arrow-select/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
pub mod coalesce;
diff --git a/arrow-string/src/lib.rs b/arrow-string/src/lib.rs
index 4c90d783ff..77c8e6050a 100644
--- a/arrow-string/src/lib.rs
+++ b/arrow-string/src/lib.rs
@@ -21,7 +21,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
mod binary_like;
diff --git a/arrow/src/lib.rs b/arrow/src/lib.rs
index e9e94540d9..9aae45470c 100644
--- a/arrow/src/lib.rs
+++ b/arrow/src/lib.rs
@@ -370,7 +370,7 @@
html_logo_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_white-bg.svg",
html_favicon_url =
"https://arrow.apache.org/img/arrow-logo_chevrons_black-txt_transparent-bg.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(clippy::redundant_clone)]
#![warn(missing_debug_implementations)]
#![warn(missing_docs)]
diff --git a/parquet/src/lib.rs b/parquet/src/lib.rs
index 446a500aaf..19a69bce90 100644
--- a/parquet/src/lib.rs
+++ b/parquet/src/lib.rs
@@ -113,7 +113,7 @@
html_logo_url =
"https://raw.githubusercontent.com/apache/parquet-format/25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2/logo/parquet-logos_1.svg",
html_favicon_url =
"https://raw.githubusercontent.com/apache/parquet-format/25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2/logo/parquet-logos_1.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
/// Defines a an item with an experimental public API
///
diff --git a/parquet_derive/src/lib.rs b/parquet_derive/src/lib.rs
index 34852e7aaf..1aaa1abfd2 100644
--- a/parquet_derive/src/lib.rs
+++ b/parquet_derive/src/lib.rs
@@ -22,7 +22,7 @@
html_logo_url =
"https://raw.githubusercontent.com/apache/parquet-format/25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2/logo/parquet-logos_1.svg",
html_favicon_url =
"https://raw.githubusercontent.com/apache/parquet-format/25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2/logo/parquet-logos_1.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs)]
#![recursion_limit = "128"]
diff --git a/parquet_derive_test/src/lib.rs b/parquet_derive_test/src/lib.rs
index 8375d0eaf9..71eb636069 100644
--- a/parquet_derive_test/src/lib.rs
+++ b/parquet_derive_test/src/lib.rs
@@ -19,7 +19,7 @@
html_logo_url =
"https://raw.githubusercontent.com/apache/parquet-format/25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2/logo/parquet-logos_1.svg",
html_favicon_url =
"https://raw.githubusercontent.com/apache/parquet-format/25f05e73d8cd7f5c83532ce51cb4f4de8ba5f2a2/logo/parquet-logos_1.svg"
)]
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
#![allow(clippy::approx_constant)]
use parquet_derive::{ParquetRecordReader, ParquetRecordWriter};