Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable some features for docs.rs? #116

Open
Shadlock0133 opened this issue Mar 8, 2022 · 1 comment
Open

Enable some features for docs.rs? #116

Shadlock0133 opened this issue Mar 8, 2022 · 1 comment

Comments

@Shadlock0133
Copy link

Currently, docs.rs doesn't show Image functions which are behind a "embedded_images" feature flag. Here is docs.rs's docs on how to enable it: https://docs.rs/about/metadata. I think adding this to Cargo.toml should work:

[package.metadata.docs.rs]
features = ["embedded_images"]
@fschutt
Copy link
Owner

fschutt commented Nov 2, 2024

The images feature will be removed in 0.8, it will always be on but not have any image formats enabled by default (so users have to enable png / jpeg / ... separately).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants