From 9cdc1c1e14a7eaab2683d13efeaed82d4b5f34c2 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com> Date: Tue, 20 Dec 2022 18:18:09 +0000 Subject: [PATCH] Document all features (#3377) --- arrow-flight/Cargo.toml | 3 +++ arrow-ord/Cargo.toml | 3 +++ arrow-string/Cargo.toml | 3 +++ arrow/Cargo.toml | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arrow-flight/Cargo.toml b/arrow-flight/Cargo.toml index 847d77ca58de..ea02bfed497d 100644 --- a/arrow-flight/Cargo.toml +++ b/arrow-flight/Cargo.toml @@ -39,6 +39,9 @@ prost-derive = { version = "0.11", default-features = false } tokio = { version = "1.0", default-features = false, features = ["macros", "rt", "rt-multi-thread"] } futures = { version = "0.3", default-features = false, features = ["alloc"] } +[package.metadata.docs.rs] +all-features = true + [features] default = [] flight-sql-experimental = [] diff --git a/arrow-ord/Cargo.toml b/arrow-ord/Cargo.toml index 10aab03a54e8..c07e6ae38455 100644 --- a/arrow-ord/Cargo.toml +++ b/arrow-ord/Cargo.toml @@ -48,6 +48,9 @@ num = { version = "0.4", default-features = false, features = ["std"] } [dev-dependencies] rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] } +[package.metadata.docs.rs] +features = ["dyn_cmp_dict"] + [features] dyn_cmp_dict = [] simd = ["arrow-array/simd"] diff --git a/arrow-string/Cargo.toml b/arrow-string/Cargo.toml index 7dd4472f58c9..0bb23fd8e90f 100644 --- a/arrow-string/Cargo.toml +++ b/arrow-string/Cargo.toml @@ -46,5 +46,8 @@ arrow-select = { version = "29.0.0", path = "../arrow-select" } regex = { version = "1.7.0", default-features = false, features = ["std", "unicode", "perf"] } regex-syntax = { version = "0.6.27", default-features = false, features = ["unicode"] } +[package.metadata.docs.rs] +all-features = true + [features] dyn_cmp_dict = [] diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index 98d04d5d2635..0954909a0990 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -68,7 +68,7 @@ multiversion = { version = "0.6.1", default-features = false } bitflags = { version = "1.2.1", default-features = false, optional = true } [package.metadata.docs.rs] -features = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "ffi", "pyarrow"] +features = ["prettyprint", "ipc_compression", "dyn_cmp_dict", "dyn_arith_dict", "ffi", "pyarrow"] [features] default = ["csv", "ipc", "json"]