This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 40f1ddd8dc docs(ci): use up-to-date protoc with docs.rs (#14048)
40f1ddd8dc is described below
commit 40f1ddd8dcf47be42d8331d862c923388471bee3
Author: Wendell Smith <[email protected]>
AuthorDate: Thu Jan 9 16:46:54 2025 -0500
docs(ci): use up-to-date protoc with docs.rs (#14048)
---
datafusion/substrait/Cargo.toml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/datafusion/substrait/Cargo.toml b/datafusion/substrait/Cargo.toml
index 60e35cc966..a60b70a963 100644
--- a/datafusion/substrait/Cargo.toml
+++ b/datafusion/substrait/Cargo.toml
@@ -54,3 +54,10 @@ tokio = { workspace = true }
default = ["physical"]
physical = ["datafusion/parquet"]
protoc = ["substrait/protoc"]
+
+[package.metadata.docs.rs]
+# Use default features ("physical") for docs, plus "protoc". "protoc" is needed
+# to get a consistent version of the protobuf compiler in the docs build;
+# without that, an outdated protobuf compiler may fail to compile the protobuf
+# files as it did in versions 42.0.0 through 44.0.0.
+all-features = true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]