Skip to content

Commit

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

The docs build was changed in delta-io#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 delta-io#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 and junjunjd committed Oct 7, 2023
1 parent 0856a3b commit 3cee3fa
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 3cee3fa

Please sign in to comment.