Skip to content

Commit

Permalink
docs: get docs.rs configured correctly again (#1693)
Browse files Browse the repository at this point in the history
# Description

The docs build was changed in #1658 to compile on docs.rs with all
features, but our crate cannot compile with all-features due to the TLS
features, which are mutually exclusive.

# Related Issue(s)

For example:

- closes #1692

This has been tested locally with the following command:

```
cargo doc --features azure,datafusion,datafusion,gcs,glue,json,python,s3,unity-experimental
```
  • Loading branch information
wjones127 authored Oct 3, 2023
1 parent fac7fdb commit dd1fa8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ readme = "README.md"
edition = "2021"

[package.metadata.docs.rs]
all-features = true
# We cannot use all_features because TLS features are mutually exclusive.
# We cannot use hdfs feature because it requires Java to be installed.
features = ["azure", "datafusion", "gcs", "glue", "hdfs", "json", "python", "s3", "unity-experimental"]

[dependencies]
# arrow
Expand Down

0 comments on commit dd1fa8c

Please sign in to comment.