-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add async
into doc features
#1349
Add async
into doc features
#1349
Conversation
Signed-off-by: remzi <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1349 +/- ##
=======================================
Coverage 83.03% 83.03%
=======================================
Files 181 181
Lines 52936 52936
=======================================
+ Hits 43955 43958 +3
+ Misses 8981 8978 -3
Continue to review full report at Codecov.
|
THank you @HaoYang670 Changing the default features of the arrow crate may have some non trivial downstream consequences for users of arrow. What would you think about just updating the metadata for the docs.rs build following https://docs.rs/about/metadata? Perhaps something like: [package.metadata.docs.rs]
# Whether to pass `--all-features` to Cargo (default: false)
all-features = true ? |
Thank you for your review! I will update my PR. |
Neither |
Can you share what you tried? Perhaps the output of |
I add
in parquet/Cargo.toml. |
🤔 I haven't had a chance to really test, but it looks like docs.rs has some specific build process (that isn't just |
Signed-off-by: remzi <[email protected]>
Thanks @HaoYang670 -- I am trying to test this change using a local docs.rs build -- https://github.com/rust-lang/docs.rs/blob/master/README.md#build-subcommand WIll report how it goes. |
I wasn't able to get the local docs.rs build to work and then ran out of time ;( Hopefully we'll get this into the next arrow release (it missed the cutoff for 10.0.0 sadly) |
Thanks a lot @alamb |
FWIW I have tried several times to build docs.rs on my laptop and have not had any luck for some reason. |
I am wary of merging this in without testing it as it might cause the docs.rs build to fail 😭 |
Marking as draft until we sort out testing |
TIL |
Thanks again @HaoYang670 for giving it a try. |
I'll try and test this using a |
I published a pre-release version to crates to check the documentation build: https://crates.io/crates/parquet/14.0.0-dev |
🤔 I can't figure out the documentation build for dev |
I published old versions here: will watch doc builds https://crates.io/crates/arrow/0.18.0 |
Glad I tested: https://docs.rs/crate/parquet/0.18.0 seems to have failed -- https://docs.rs/crate/parquet/0.18.0/builds/557342
Looking into that |
Well, I am now trying https://crates.io/crates/parquet/0.18.1 , with this change: alamb@3f76ef3 |
Filed #1695 to track this issue and will provide updates there |
Great work @alamb ! |
Signed-off-by: remzi [email protected]
Which issue does this PR close?
Closes #1307.
Closes #1617
Rationale for this change
What changes are included in this PR?
Add
async
to default enabled features, so that the linkarrow::async_reader
is active.Are there any user-facing changes?