sreeise / graph-rs-sdk

Microsoft Graph API Client And Identity Platform Client in Rust
MIT License
114 stars 30 forks source link

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

Open LtdJorge opened 2 weeks ago

LtdJorge commented 2 weeks ago

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.