Skip to content

Commit

Permalink
docs(ci): use up-to-date protoc with docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Jan 8, 2025
1 parent 05b6f93 commit a1f79bb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions datafusion/substrait/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a1f79bb

Please sign in to comment.