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

Consider enabling the OpenSSL feature when publishing to docs.rs #503

Open
LtdJorge opened this issue Nov 8, 2024 · 0 comments
Open

Consider enabling the OpenSSL feature when publishing to docs.rs #503

LtdJorge opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
Feature Request Label specifically for feature requests

Comments

@LtdJorge
Copy link

LtdJorge commented Nov 8, 2024

Give a detailed description of the feature request
Right now, documentation for types like X509Certificate doesn't exist, because those types are gated behind the openssl feature, and Docs.rs only uses default features unless custom metadata is added.

This also messes with type inference and/or rust-analyzer, like so (Rustrover):
image

Additional context
Docs.rs provides complete documentation on the topic here. For a real-life example, take the Cargo.toml from Tokio.

@LtdJorge LtdJorge added the Feature Request Label specifically for feature requests label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Label specifically for feature requests
Projects
None yet
Development

No branches or pull requests

2 participants