avastmick / google-generative-ai-rs

An unofficial rust-based client library to interact with the Google Gemini generative AI API
https://docs.rs/google-generative-ai-rs/
MIT License
21 stars 7 forks source link

rustdoc changes (source links and feature labels) #38

Closed qrnch-jan closed 3 months ago

qrnch-jan commented 3 months ago

There are two proposed changes in this pull request:

To generate docs with feature labels locally use:

$ RUSTFLAGS="--cfg docsrs" RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features

(cargo doc still works as usual).

avastmick commented 3 months ago

Happy. I will merge and release.

Thanks for the contribution! 😄