From 0814078a8d85626cc9bd903c7aa8f499ca1c10f6 Mon Sep 17 00:00:00 2001 From: remzi <13716567376yh@gmail.com> Date: Tue, 22 Feb 2022 09:41:49 +0800 Subject: [PATCH 1/3] add async to default features Signed-off-by: remzi <13716567376yh@gmail.com> --- parquet/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 3cad64cf8caa..52f90fb3e1d3 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -61,7 +61,7 @@ serde_json = { version = "1.0", features = ["preserve_order"] } arrow = { path = "../arrow", version = "9.1.0", default-features = false, features = ["test_utils", "prettyprint"] } [features] -default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64"] +default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64", "async"] cli = ["serde_json", "base64", "clap"] test_common = [] # Experimental, unstable functionality primarily used for testing From 3000177bf385c0ef59596a67074a8e7c635af3a0 Mon Sep 17 00:00:00 2001 From: remzi <13716567376yh@gmail.com> Date: Tue, 1 Mar 2022 15:34:19 +0800 Subject: [PATCH 2/3] remove async from default features Signed-off-by: remzi <13716567376yh@gmail.com> --- parquet/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 52f90fb3e1d3..3cad64cf8caa 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -61,7 +61,7 @@ serde_json = { version = "1.0", features = ["preserve_order"] } arrow = { path = "../arrow", version = "9.1.0", default-features = false, features = ["test_utils", "prettyprint"] } [features] -default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64", "async"] +default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64"] cli = ["serde_json", "base64", "clap"] test_common = [] # Experimental, unstable functionality primarily used for testing From a99b7a131698efc61e36ced4b7bb8ed41cd6b3da Mon Sep 17 00:00:00 2001 From: remzi <13716567376yh@gmail.com> Date: Sat, 5 Mar 2022 14:31:50 +0800 Subject: [PATCH 3/3] add doc metadata Signed-off-by: remzi <13716567376yh@gmail.com> --- parquet/Cargo.toml | 4 ++++ parquet/src/arrow/mod.rs | 1 + 2 files changed, 5 insertions(+) diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 3cad64cf8caa..892fd77946f0 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -60,6 +60,10 @@ lz4 = "1.23" serde_json = { version = "1.0", features = ["preserve_order"] } arrow = { path = "../arrow", version = "9.1.0", default-features = false, features = ["test_utils", "prettyprint"] } +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "doc_cfg"] + [features] default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64"] cli = ["serde_json", "base64", "clap"] diff --git a/parquet/src/arrow/mod.rs b/parquet/src/arrow/mod.rs index ea4760c03016..833c1c1cb4ca 100644 --- a/parquet/src/arrow/mod.rs +++ b/parquet/src/arrow/mod.rs @@ -121,6 +121,7 @@ pub mod arrow_writer; mod bit_util; #[cfg(feature = "async")] +#[cfg_attr(doc_cfg, doc(cfg(feature = "async")))] pub mod async_reader; experimental_mod!(converter);