From dd1fa8c39c08965b7d703b13e1d68358130ec730 Mon Sep 17 00:00:00 2001 From: Will Jones Date: Mon, 2 Oct 2023 21:35:34 -0700 Subject: [PATCH] docs: get docs.rs configured correctly again (#1693) # 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 ``` --- rust/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 2f31e8b915..66b9c7e5b9 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -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