From 2850533bf8bb54000f3a523eeafd5bf94c72e73b Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Fri, 2 Sep 2022 08:14:28 +0100 Subject: [PATCH 1/3] Document all arrow features in docs.rs (#2633) --- arrow/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index 58f7df48425..d5f1befd698 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -67,6 +67,9 @@ multiversion = { version = "0.6.1", default-features = false } bitflags = { version = "1.2.1", default-features = false } zstd = { version = "0.11.1", default-features = false, optional = true } +[package.metadata.docs.rs] +feature = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"] + [features] default = ["csv", "ipc", "json"] ipc_compression = ["ipc", "zstd", "lz4"] From e54d1e21817830a935163080d2cdbca60a4a6c37 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Fri, 2 Sep 2022 08:17:59 +0100 Subject: [PATCH 2/3] Tweak pyarrow doc --- arrow/src/pyarrow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/src/pyarrow.rs b/arrow/src/pyarrow.rs index 3ae5b3b9987..89463e4c8fd 100644 --- a/arrow/src/pyarrow.rs +++ b/arrow/src/pyarrow.rs @@ -15,7 +15,7 @@ // specific language governing permissions and limitations // under the License. -//! This library demonstrates a minimal usage of Rust's C data interface to pass +//! This module demonstrates a minimal usage of Rust's C data interface to pass //! arrays from and to Python. use std::convert::{From, TryFrom}; From 7fe9d8b2c95768823a1d0254b5c43d7be24a5ec0 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> Date: Fri, 2 Sep 2022 09:32:01 +0100 Subject: [PATCH 3/3] Update arrow/Cargo.toml Co-authored-by: Liang-Chi Hsieh --- arrow/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index d5f1befd698..adb0c7ac87e 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -68,7 +68,7 @@ bitflags = { version = "1.2.1", default-features = false } zstd = { version = "0.11.1", default-features = false, optional = true } [package.metadata.docs.rs] -feature = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"] +features = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"] [features] default = ["csv", "ipc", "json"]