Skip to content

Commit 101edc9

Browse files
HaoYang670alamb
andauthored
Add async into doc features (#1349)
* add async to default features Signed-off-by: remzi <[email protected]> * remove async from default features Signed-off-by: remzi <[email protected]> * add doc metadata Signed-off-by: remzi <[email protected]> Co-authored-by: Andrew Lamb <[email protected]>
1 parent b425d17 commit 101edc9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

parquet/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ lz4 = "1.23"
6161
serde_json = { version = "1.0", features = ["preserve_order"] }
6262
arrow = { path = "../arrow", version = "13.0.0", default-features = false, features = ["test_utils", "prettyprint"] }
6363

64+
[package.metadata.docs.rs]
65+
all-features = true
66+
rustdoc-args = ["--cfg", "doc_cfg"]
67+
6468
[features]
6569
default = ["arrow", "snap", "brotli", "flate2", "lz4", "zstd", "base64"]
6670
cli = ["serde_json", "base64", "clap"]

parquet/src/arrow/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ pub mod arrow_writer;
121121
mod bit_util;
122122

123123
#[cfg(feature = "async")]
124+
#[cfg_attr(doc_cfg, doc(cfg(feature = "async")))]
124125
pub mod async_reader;
125126

126127
experimental_mod!(converter);

0 commit comments

Comments
 (0)