mbrobbel opened a new pull request, #14746:
URL: https://github.com/apache/datafusion/pull/14746

   ## Which issue does this PR close?
   
   None.
   
   ## Rationale for this change
   
   1. Make it easier to discover required features for items in the datafusion 
crates on docs.rs.
   2. Add logos and favicon for datafusion crates on docs.rs.
   
   <img width="1221" alt="Screenshot 2025-02-18 at 11 20 31" 
src="https://github.com/user-attachments/assets/e20645e4-c748-4ed3-b568-ceef890a9fcc";
 />
   
   ## What changes are included in this PR?
   
   - `#![cfg_attr(docsrs, feature(doc_auto_cfg))]` for all published crates 
(also the ones without features, to make this work when features are added in 
the feature).
   - Set `all-features = true` in `[package.metadata.docs.rs]` for those crates 
to get docs for all items.
   - Add 
[logo](https://raw.githubusercontent.com/apache/datafusion/19fe44cf2f30cbdd63d4a4f52c74055163c6cc38/docs/logos/standalone_logo/logo_original.svg)
 on docs.rs.
   - Removed `src/lib.rs` from `[lib]` sections (this is the default value)
   
   ## Are these changes tested?
   
   To test this locally (requires nightly rust + cargo-docs-rs):
   ```
   rustup toolchain install nightly
   cargo install --locked cargo-docs-rs
   cargo +nightly docs-rs -p datafusion
   ```
   
   ## Are there any user-facing changes?
   
   Users will now see required features on docs.rs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to