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

Migrate hex-literal to the 2018 edition #13

Merged
merged 3 commits into from
Apr 23, 2019

Conversation

stanislav-tkach
Copy link
Contributor

Currently it is required to import hex_literal (in the 2018 edition crates) the following way:

use hex_literal::{hex, hex_impl};

After this update only hex_literal::hex is required.

I don't have enough experience with procedural macro error handling, but I suppose that previous errors reporting wasn't better.

@newpavlov
Copy link
Member

Thank you for your contribution!

I think I'll wait a bit before merging this PR and publishing v0.2, I plan to migrate most of RustCrypto crates to 2018 edition synchronously. Also maybe additionally we should migrate to true procedural macros instead of using proc-macro-hack.

@newpavlov newpavlov mentioned this pull request Mar 14, 2019
@newpavlov newpavlov merged commit 8c499f2 into RustCrypto:master Apr 23, 2019
@stanislav-tkach stanislav-tkach deleted the hex-literal-2018-edition branch April 24, 2019 18:43
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