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

Don't enable std feature on sha-1 #410

Merged
merged 1 commit into from
Aug 20, 2019
Merged

Conversation

roblabla
Copy link
Contributor

I'm currently working on a no_std project that uses Pest in a proc macro, and also uses sha1 somewhere else in the crate graph. It uses sha1 in nostd mode. But because cargo sucks has some really broken behavior around build and dev dependencies, pest ends up activating the std feature for my build.

Pest doesn't really need the std feature of SHA-1 anyways. So this PR disables it.

@CAD97
Copy link
Contributor

CAD97 commented Aug 20, 2019

bors: r+

@dragostis, can we get a patch version published with this?

bors bot added a commit that referenced this pull request Aug 20, 2019
410: Don't enable std feature on sha-1 r=CAD97 a=roblabla

I'm currently working on a no_std project that uses Pest in a proc macro, and also uses sha1 somewhere else in the crate graph. It uses sha1 in nostd mode. But because cargo ~~sucks~~ has [some really broken behavior](rust-lang/cargo#4866) around build and dev dependencies, pest ends up activating the std feature for my build.

Pest doesn't really need the std feature of SHA-1 anyways. So this PR disables it.

Co-authored-by: Robin Lambertz <github@roblab.la>
@bors
Copy link
Contributor

bors bot commented Aug 20, 2019

Build succeeded

@bors bors bot merged commit a26404a into pest-parser:master Aug 20, 2019
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.

None yet

2 participants