Skip to content

Display all available [features] #1992

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

Closed
dancojocaru2000 opened this issue Dec 18, 2019 · 1 comment
Closed

Display all available [features] #1992

dancojocaru2000 opened this issue Dec 18, 2019 · 1 comment

Comments

@dancojocaru2000
Copy link

When looking at a crate on crates.io, it very much is guesswork finding out what the default features are and what features are available, and developers don't often make this obvious.

As an example, for the tungstenite crate, if you want to use the function tungstenite::client::connect, you can see in the function documentation the following:

The URL may be either ws:// or wss://. To support wss:// URLs, feature "tls" must be turned on.

There should be a more obvious way to find out about the "tls" feature, preferable on the crate's page on crates.io.

@carols10cents
Copy link
Member

Thanks! I'm actually going to close this as a duplicate of #465.

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