Apache DataFusion SQL Query Engine
Use `doc_auto_cfg`, logo and favicon for docs.rs (#14746)
Matthijs Brobbel139b5b567232
diff --git a/datafusion-cli/Cargo.toml b/datafusion-cli/Cargo.tomlindex d88f8fccb9..20cd1c4295 100644--- a/datafusion-cli/Cargo.toml+++ b/datafusion-cli/Cargo.toml@@ -27,6 +27,9 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[dependencies]arrow = { workspace = true }async-trait = { workspace = true }diff --git a/datafusion-cli/src/lib.rs b/datafusion-cli/src/lib.rsindex fbfc9242a6..34fba6f793 100644--- a/datafusion-cli/src/lib.rs+++ b/datafusion-cli/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]#![doc = include_str!("../README.md")]pub const DATAFUSION_CLI_VERSION: &str = env!("CARGO_PKG_VERSION");diff --git a/datafusion/catalog-listing/Cargo.toml b/datafusion/catalog-listing/Cargo.tomlindex 68d0ca3a14..c6f9ea8bd0 100644--- a/datafusion/catalog-listing/Cargo.toml+++ b/datafusion/catalog-listing/Cargo.toml@@ -27,6 +27,9 @@ repository.workspace = truerust-version.workspace = trueversion.workspace = true+[package.metadata.docs.rs]+all-features = true+[dependencies]arrow = { workspace = true }async-trait = { workspace = true }diff --git a/datafusion/catalog-listing/src/mod.rs b/datafusion/catalog-listing/src/mod.rsindex b98790e864..cb0d86d866 100644--- a/datafusion/catalog-listing/src/mod.rs+++ b/datafusion/catalog-listing/src/mod.rs@@ -15,4 +15,10 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+pub mod helpers;diff --git a/datafusion/catalog/Cargo.toml b/datafusion/catalog/Cargo.tomlindex 73ac44a031..8647494111 100644--- a/datafusion/catalog/Cargo.toml+++ b/datafusion/catalog/Cargo.toml@@ -27,6 +27,9 @@ repository.workspace = truerust-version.workspace = trueversion.workspace = true+[package.metadata.docs.rs]+all-features = true+[dependencies]arrow = { workspace = true }async-trait = { workspace = true }diff --git a/datafusion/catalog/src/lib.rs b/datafusion/catalog/src/lib.rsindex 0b8d73fabd..a339d4916b 100644--- a/datafusion/catalog/src/lib.rs+++ b/datafusion/catalog/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+//! Interfaces and default implementations of catalogs and schemas.//!//! Implementationsdiff --git a/datafusion/common-runtime/Cargo.toml b/datafusion/common-runtime/Cargo.tomlindex a21c72cd9f..6fd9b7ac8f 100644--- a/datafusion/common-runtime/Cargo.toml+++ b/datafusion/common-runtime/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_common_runtime"-path = "src/lib.rs"[dependencies]log = { workspace = true }diff --git a/datafusion/common-runtime/src/lib.rs b/datafusion/common-runtime/src/lib.rsindex 51cb988ea0..7bd8dc4cfe 100644--- a/datafusion/common-runtime/src/lib.rs+++ b/datafusion/common-runtime/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/common/Cargo.toml b/datafusion/common/Cargo.tomlindex 3be666ce79..fc5c08ee23 100644--- a/datafusion/common/Cargo.toml+++ b/datafusion/common/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_common"-path = "src/lib.rs"[features]avro = ["apache-avro"]diff --git a/datafusion/common/src/lib.rs b/datafusion/common/src/lib.rsindex df1ae100f5..d5b7c22a54 100644--- a/datafusion/common/src/lib.rs+++ b/datafusion/common/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.tomlindex 8a706ca19f..e968967a2e 100644--- a/datafusion/core/Cargo.toml+++ b/datafusion/core/Cargo.toml@@ -29,13 +29,12 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true-[lib]-name = "datafusion"-path = "src/lib.rs"-[features]nested_expressions = ["datafusion-functions-nested"]# This feature is deprecated. Use the `nested_expressions` feature instead.diff --git a/datafusion/core/src/lib.rs b/datafusion/core/src/lib.rsindex f4aa366500..9a0d0157c1 100644--- a/datafusion/core/src/lib.rs+++ b/datafusion/core/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![cfg_attr(not(test), deny(clippy::clone_on_ref_ptr))]#![warn(missing_docs, clippy::needless_borrow)]diff --git a/datafusion/datasource/Cargo.toml b/datafusion/datasource/Cargo.tomlindex caf1c60a78..bf1f8789ac 100644--- a/datafusion/datasource/Cargo.toml+++ b/datafusion/datasource/Cargo.toml@@ -27,6 +27,9 @@ repository.workspace = truerust-version.workspace = trueversion.workspace = true+[package.metadata.docs.rs]+all-features = true+[features]compression = ["async-compression", "xz2", "bzip2", "flate2", "zstd", "tokio-util"]default = ["compression"]diff --git a/datafusion/datasource/src/mod.rs b/datafusion/datasource/src/mod.rsindex c735c3108b..2fc2da6489 100644--- a/datafusion/datasource/src/mod.rs+++ b/datafusion/datasource/src/mod.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+//! A table that uses the `ObjectStore` listing capability//! to get the list of files to process.diff --git a/datafusion/doc/Cargo.toml b/datafusion/doc/Cargo.tomlindex c188bcb2a5..fa316348a6 100644--- a/datafusion/doc/Cargo.toml+++ b/datafusion/doc/Cargo.toml@@ -27,9 +27,11 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_doc"-path = "src/lib.rs"diff --git a/datafusion/doc/src/lib.rs b/datafusion/doc/src/lib.rsindex 6940a8ef3c..68ed1e2352 100644--- a/datafusion/doc/src/lib.rs+++ b/datafusion/doc/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+#[allow(rustdoc::broken_intra_doc_links)]/// Documentation for use by [`ScalarUDFImpl`](ScalarUDFImpl),/// [`AggregateUDFImpl`](AggregateUDFImpl) and [`WindowUDFImpl`](WindowUDFImpl) functions.diff --git a/datafusion/execution/Cargo.toml b/datafusion/execution/Cargo.tomlindex bb86868a82..8f642f3384 100644--- a/datafusion/execution/Cargo.toml+++ b/datafusion/execution/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_execution"-path = "src/lib.rs"[dependencies]arrow = { workspace = true }diff --git a/datafusion/execution/src/lib.rs b/datafusion/execution/src/lib.rsindex 317bd3203a..a9e3a27f80 100644--- a/datafusion/execution/src/lib.rs+++ b/datafusion/execution/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/expr-common/Cargo.toml b/datafusion/expr-common/Cargo.tomlindex abc78a9f08..14717dd781 100644--- a/datafusion/expr-common/Cargo.toml+++ b/datafusion/expr-common/Cargo.toml@@ -27,14 +27,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_expr_common"-path = "src/lib.rs"--[features][dependencies]arrow = { workspace = true }diff --git a/datafusion/expr-common/src/lib.rs b/datafusion/expr-common/src/lib.rsindex 179dd75ace..fede0bb8e5 100644--- a/datafusion/expr-common/src/lib.rs+++ b/datafusion/expr-common/src/lib.rs@@ -19,10 +19,15 @@//!//! This crate contains types and traits that are used by both Logical and Physical expressions.//! They are kept in their own crate to avoid physical expressions depending on logical expressions.-//!+//!//!//! [DataFusion]: <https://crates.io/crates/datafusion>+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/expr/Cargo.toml b/datafusion/expr/Cargo.tomlindex b4f3f7fb68..37e1ed1936 100644--- a/datafusion/expr/Cargo.toml+++ b/datafusion/expr/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_expr"-path = "src/lib.rs"[features]recursive_protection = ["dep:recursive"]diff --git a/datafusion/expr/src/lib.rs b/datafusion/expr/src/lib.rsindex 2f04f234eb..d2ea6e8091 100644--- a/datafusion/expr/src/lib.rs+++ b/datafusion/expr/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/ffi/Cargo.toml b/datafusion/ffi/Cargo.tomlindex 4c39614434..9791466668 100644--- a/datafusion/ffi/Cargo.toml+++ b/datafusion/ffi/Cargo.toml@@ -27,12 +27,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_ffi"-path = "src/lib.rs"crate-type = ["cdylib", "rlib"][dependencies]diff --git a/datafusion/ffi/src/lib.rs b/datafusion/ffi/src/lib.rsindex bbcdd85ff8..4eabf91d89 100644--- a/datafusion/ffi/src/lib.rs+++ b/datafusion/ffi/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/functions-aggregate-common/Cargo.toml b/datafusion/functions-aggregate-common/Cargo.tomlindex cf6eb99e60..72c8a58a7e 100644--- a/datafusion/functions-aggregate-common/Cargo.toml+++ b/datafusion/functions-aggregate-common/Cargo.toml@@ -27,14 +27,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_functions_aggregate_common"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]ahash = { workspace = true }diff --git a/datafusion/functions-aggregate-common/src/lib.rs b/datafusion/functions-aggregate-common/src/lib.rsindex cc50ff7091..6f9dfca30c 100644--- a/datafusion/functions-aggregate-common/src/lib.rs+++ b/datafusion/functions-aggregate-common/src/lib.rs@@ -22,6 +22,11 @@//!//! [DataFusion]: <https://crates.io/crates/datafusion>+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/functions-aggregate/Cargo.toml b/datafusion/functions-aggregate/Cargo.tomlindex 007e1e76a3..38052835f1 100644--- a/datafusion/functions-aggregate/Cargo.toml+++ b/datafusion/functions-aggregate/Cargo.toml@@ -28,14 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_functions_aggregate"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]ahash = { workspace = true }diff --git a/datafusion/functions-aggregate/src/lib.rs b/datafusion/functions-aggregate/src/lib.rsindex 746873442d..f4bdb53efd 100644--- a/datafusion/functions-aggregate/src/lib.rs+++ b/datafusion/functions-aggregate/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/functions-nested/Cargo.toml b/datafusion/functions-nested/Cargo.tomlindex a63175b36e..b33b415a86 100644--- a/datafusion/functions-nested/Cargo.toml+++ b/datafusion/functions-nested/Cargo.toml@@ -28,16 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true-[features]-[lib]name = "datafusion_functions_nested"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]arrow = { workspace = true }diff --git a/datafusion/functions-nested/src/lib.rs b/datafusion/functions-nested/src/lib.rsindex c47e4a696a..41ebb4366c 100644--- a/datafusion/functions-nested/src/lib.rs+++ b/datafusion/functions-nested/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/functions-table/Cargo.toml b/datafusion/functions-table/Cargo.tomlindex f722d698f3..78d59257dd 100644--- a/datafusion/functions-table/Cargo.toml+++ b/datafusion/functions-table/Cargo.toml@@ -28,14 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_functions_table"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]arrow = { workspace = true }diff --git a/datafusion/functions-table/src/lib.rs b/datafusion/functions-table/src/lib.rsindex f5436f7bf8..4a31760e7c 100644--- a/datafusion/functions-table/src/lib.rs+++ b/datafusion/functions-table/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+pub mod generate_series;use datafusion_catalog::TableFunction;diff --git a/datafusion/functions-window-common/Cargo.toml b/datafusion/functions-window-common/Cargo.tomlindex b5df212b7d..466e7bc68b 100644--- a/datafusion/functions-window-common/Cargo.toml+++ b/datafusion/functions-window-common/Cargo.toml@@ -28,14 +28,14 @@ repository = { workspace = true }rust-version = { workspace = true }version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_functions_window_common"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]datafusion-common = { workspace = true }diff --git a/datafusion/functions-window-common/src/lib.rs b/datafusion/functions-window-common/src/lib.rsindex da8d096da5..6f2a1ac0f3 100644--- a/datafusion/functions-window-common/src/lib.rs+++ b/datafusion/functions-window-common/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+//! Common user-defined window functionality for [DataFusion]//!//! [DataFusion]: <https://crates.io/crates/datafusion>diff --git a/datafusion/functions-window/Cargo.toml b/datafusion/functions-window/Cargo.tomlindex fc1bc51bcc..e0c17c579b 100644--- a/datafusion/functions-window/Cargo.toml+++ b/datafusion/functions-window/Cargo.toml@@ -28,14 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_functions_window"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]datafusion-common = { workspace = true }diff --git a/datafusion/functions-window/src/lib.rs b/datafusion/functions-window/src/lib.rsindex 9f8e54a042..0d932bf847 100644--- a/datafusion/functions-window/src/lib.rs+++ b/datafusion/functions-window/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+//! Window Function packages for [DataFusion].//!//! This crate contains a collection of various window function packages for DataFusion,diff --git a/datafusion/functions/Cargo.toml b/datafusion/functions/Cargo.tomlindex c00997853b..788bc67d97 100644--- a/datafusion/functions/Cargo.toml+++ b/datafusion/functions/Cargo.toml@@ -28,6 +28,9 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true@@ -60,9 +63,6 @@ unicode_expressions = ["unicode-segmentation"][lib]name = "datafusion_functions"-path = "src/lib.rs"--# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html[dependencies]arrow = { workspace = true }diff --git a/datafusion/functions/src/lib.rs b/datafusion/functions/src/lib.rsindex ffb0ab5f51..de2571779d 100644--- a/datafusion/functions/src/lib.rs+++ b/datafusion/functions/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/macros/Cargo.toml b/datafusion/macros/Cargo.tomlindex 8946640f20..737d2ed728 100644--- a/datafusion/macros/Cargo.toml+++ b/datafusion/macros/Cargo.toml@@ -27,6 +27,9 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = truediff --git a/datafusion/macros/src/user_doc.rs b/datafusion/macros/src/user_doc.rsindex 6ca90ed376..c6510c1564 100644--- a/datafusion/macros/src/user_doc.rs+++ b/datafusion/macros/src/user_doc.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+extern crate proc_macro;use datafusion_expr::scalar_doc_sections::doc_sections_const;use proc_macro::TokenStream;diff --git a/datafusion/optimizer/Cargo.toml b/datafusion/optimizer/Cargo.tomlindex 3f5ec9b0da..3413b365f6 100644--- a/datafusion/optimizer/Cargo.toml+++ b/datafusion/optimizer/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_optimizer"-path = "src/lib.rs"[features]recursive_protection = ["dep:recursive"]diff --git a/datafusion/optimizer/src/lib.rs b/datafusion/optimizer/src/lib.rsindex 614284e1b4..61ca9b31cd 100644--- a/datafusion/optimizer/src/lib.rs+++ b/datafusion/optimizer/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/physical-expr-common/Cargo.toml b/datafusion/physical-expr-common/Cargo.tomlindex 14d6ca64d1..a5a12b5527 100644--- a/datafusion/physical-expr-common/Cargo.toml+++ b/datafusion/physical-expr-common/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_physical_expr_common"-path = "src/lib.rs"[dependencies]ahash = { workspace = true }diff --git a/datafusion/physical-expr-common/src/lib.rs b/datafusion/physical-expr-common/src/lib.rsindex a05f1c9630..440f044d88 100644--- a/datafusion/physical-expr-common/src/lib.rs+++ b/datafusion/physical-expr-common/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/physical-expr/Cargo.toml b/datafusion/physical-expr/Cargo.tomlindex 38e8b44791..a3321f4933 100644--- a/datafusion/physical-expr/Cargo.toml+++ b/datafusion/physical-expr/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_physical_expr"-path = "src/lib.rs"[dependencies]ahash = { workspace = true }diff --git a/datafusion/physical-expr/src/lib.rs b/datafusion/physical-expr/src/lib.rsindex 11d6f54a7c..b68d10905c 100644--- a/datafusion/physical-expr/src/lib.rs+++ b/datafusion/physical-expr/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/physical-optimizer/Cargo.toml b/datafusion/physical-optimizer/Cargo.tomlindex c9c86e9c8d..e8473e6556 100644--- a/datafusion/physical-optimizer/Cargo.toml+++ b/datafusion/physical-optimizer/Cargo.toml@@ -28,6 +28,9 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = truediff --git a/datafusion/physical-optimizer/src/lib.rs b/datafusion/physical-optimizer/src/lib.rsindex c2beab0320..2613b95bbd 100644--- a/datafusion/physical-optimizer/src/lib.rs+++ b/datafusion/physical-optimizer/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/physical-plan/Cargo.toml b/datafusion/physical-plan/Cargo.tomlindex f0afdaa2de..6766631147 100644--- a/datafusion/physical-plan/Cargo.toml+++ b/datafusion/physical-plan/Cargo.toml@@ -28,6 +28,9 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true@@ -36,7 +39,6 @@ force_hash_collisions = [][lib]name = "datafusion_physical_plan"-path = "src/lib.rs"[dependencies]ahash = { workspace = true }diff --git a/datafusion/physical-plan/src/lib.rs b/datafusion/physical-plan/src/lib.rsindex 9210e3b027..06fe23d2ff 100644--- a/datafusion/physical-plan/src/lib.rs+++ b/datafusion/physical-plan/src/lib.rs@@ -15,8 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143-#![deny(clippy::clone_on_ref_ptr)]//! Traits for physical query plan, supporting parallel execution for partitioned relations.diff --git a/datafusion/proto-common/Cargo.toml b/datafusion/proto-common/Cargo.tomlindex 3454b26ebc..957cbc2536 100644--- a/datafusion/proto-common/Cargo.toml+++ b/datafusion/proto-common/Cargo.toml@@ -31,9 +31,11 @@ rust-version = { workspace = true }# Exclude proto files so crates.io consumers don't need protocexclude = ["*.proto"]+[package.metadata.docs.rs]+all-features = true+[lib]name = "datafusion_proto_common"-path = "src/lib.rs"[features]default = []diff --git a/datafusion/proto-common/src/lib.rs b/datafusion/proto-common/src/lib.rsindex 9272a4e879..56cd42ee50 100644--- a/datafusion/proto-common/src/lib.rs+++ b/datafusion/proto-common/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/proto/Cargo.toml b/datafusion/proto/Cargo.tomlindex fb5d414dce..00d4969182 100644--- a/datafusion/proto/Cargo.toml+++ b/datafusion/proto/Cargo.toml@@ -31,9 +31,11 @@ rust-version = { workspace = true }# Exclude proto files so crates.io consumers don't need protocexclude = ["*.proto"]+[package.metadata.docs.rs]+all-features = true+[lib]name = "datafusion_proto"-path = "src/lib.rs"[features]default = ["parquet"]diff --git a/datafusion/proto/src/lib.rs b/datafusion/proto/src/lib.rsindex 9f2973e3c9..5d84be1cff 100644--- a/datafusion/proto/src/lib.rs+++ b/datafusion/proto/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/sql/Cargo.toml b/datafusion/sql/Cargo.tomlindex c4a404975d..4435ee0f56 100644--- a/datafusion/sql/Cargo.toml+++ b/datafusion/sql/Cargo.toml@@ -28,12 +28,14 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_sql"-path = "src/lib.rs"[features]default = ["unicode_expressions", "unparser"]diff --git a/datafusion/sql/src/lib.rs b/datafusion/sql/src/lib.rsindex 16a3d6d007..d552efa825 100644--- a/datafusion/sql/src/lib.rs+++ b/datafusion/sql/src/lib.rs@@ -15,6 +15,11 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]// Make cheap clones clear: https://github.com/apache/datafusion/issues/11143#![deny(clippy::clone_on_ref_ptr)]diff --git a/datafusion/sqllogictest/Cargo.toml b/datafusion/sqllogictest/Cargo.tomlindex f1d37c7202..88e34dd3b9 100644--- a/datafusion/sqllogictest/Cargo.toml+++ b/datafusion/sqllogictest/Cargo.toml@@ -27,12 +27,14 @@ repository = { workspace = true }rust-version = { workspace = true }version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = true[lib]name = "datafusion_sqllogictest"-path = "src/lib.rs"[dependencies]arrow = { workspace = true }diff --git a/datafusion/sqllogictest/src/lib.rs b/datafusion/sqllogictest/src/lib.rsindex 0ea55782d3..ee20e70d14 100644--- a/datafusion/sqllogictest/src/lib.rs+++ b/datafusion/sqllogictest/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+//! DataFusion sqllogictest drivermod engines;diff --git a/datafusion/substrait/src/lib.rs b/datafusion/substrait/src/lib.rsindex f33e86a2d2..a7493a48e4 100644--- a/datafusion/substrait/src/lib.rs+++ b/datafusion/substrait/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+//! Serialize / Deserialize DataFusion Plans to [Substrait.io]//!//! This crate provides support for serializing and deserializing both DataFusiondiff --git a/datafusion/wasmtest/Cargo.toml b/datafusion/wasmtest/Cargo.tomlindex 7db051ad19..6d64a15f4b 100644--- a/datafusion/wasmtest/Cargo.toml+++ b/datafusion/wasmtest/Cargo.toml@@ -27,6 +27,9 @@ license = { workspace = true }authors = { workspace = true }rust-version = { workspace = true }+[package.metadata.docs.rs]+all-features = true+[lints]workspace = truediff --git a/datafusion/wasmtest/src/lib.rs b/datafusion/wasmtest/src/lib.rsindex c7c620d1be..e2ba50beb6 100644--- a/datafusion/wasmtest/src/lib.rs+++ b/datafusion/wasmtest/src/lib.rs@@ -15,6 +15,12 @@// specific language governing permissions and limitations// under the License.+#![doc(+ html_logo_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg",+ html_favicon_url = "https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg"+)]+#![cfg_attr(docsrs, feature(doc_auto_cfg))]+extern crate wasm_bindgen;use datafusion_common::{DFSchema, ScalarValue};