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

guard hexdigest() doctest by cfg(feature=std) #35

Closed
wants to merge 1 commit into from

Conversation

ignatenkobrain
Copy link
Contributor

Fixes: #34

@mtn
Copy link

mtn commented May 5, 2018

Hey @ignatenkobrain!

I ran into this as well (using hexdigest as noted int he documentation, being unable to compile). I had changed to .digest(). Do you mind explaining how what you're doing works, and if I should be doing something similar? Thanks! 🎈

@ignatenkobrain
Copy link
Contributor Author

@mtn the hexdigest() method is available only when feature std is enabled (you can see it here).

So if you have same error, you probably have default-features = false or smth like that.

@mitsuhiko
Copy link
Owner

Will be done with the rename to sha1-smol.

@mitsuhiko mitsuhiko closed this Jan 16, 2022
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.

doctest is failing
3 participants