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

README example not compiling #10

Open
ThinkingFrog opened this issue Jun 16, 2022 · 1 comment
Open

README example not compiling #10

ThinkingFrog opened this issue Jun 16, 2022 · 1 comment

Comments

@ThinkingFrog
Copy link

This example doesn't compile with neither rust 1.61 (stable) nor rust 1.63 (nightly) as it contains a mistake. Line use curve25519_dalek::scalar::Scalar; must be replaced with use curve25519_dalek_ng::scalar::Scalar; for example to build correctly.

Also, extern crate statements are obsolete since rust 2018 edition and could be safely removed as README suggests using rust nightly which supports 2021 edition

@trchopan
Copy link

trchopan commented Jul 8, 2022

Need to switch to curve25519_dalek_ng.

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