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

fix doc example so that it works #340

Closed
wants to merge 2 commits into from

Conversation

spencerbart
Copy link

No description provided.

@spencerbart
Copy link
Author

I don't know if we should put a message saying that the sha2 feature needs to be enabled to get this example to work.

src/lib.rs Outdated Show resolved Hide resolved
@tarcieri
Copy link
Member

message saying that the sha2 feature needs to be enabled

sure

tarcieri added a commit that referenced this pull request Nov 11, 2023
People were missing that the example required the `sha2` crate as a
dependency. See #340.

This changes it to use the re-exported `sha2` crate and notes that the
`sha2` feature must be enabled.
@tarcieri
Copy link
Member

Closing in favor of #381

@tarcieri tarcieri closed this Nov 11, 2023
tarcieri added a commit that referenced this pull request Nov 11, 2023
People were missing that the example required the `sha2` crate as a
dependency. See #340.

This changes it to use the re-exported `sha2` crate and notes that the
`sha2` feature must be enabled.
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

Successfully merging this pull request may close these issues.

2 participants