Skip to content

Commit

Permalink
Add async into doc features (#1349)
Browse files Browse the repository at this point in the history
* add async to default features

Signed-off-by: remzi <13716567376yh@gmail.com>

* remove async from default features

Signed-off-by: remzi <13716567376yh@gmail.com>

* add doc metadata

Signed-off-by: remzi <13716567376yh@gmail.com>

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
  • Loading branch information
HaoYang670 and alamb committed May 12, 2022
1 parent b425d17 commit 101edc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parquet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ lz4 = "1.23"
serde_json = { version = "1.0", features = ["preserve_order"] }
arrow = { path = "../arrow", version = "13.0.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"]
Expand Down
1 change: 1 addition & 0 deletions parquet/src/arrow/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 101edc9

Please sign in to comment.