Closed newpavlov closed 6 years ago
BTW I think it could be worth to allow failure of the rustfmt pass.
hrm.. I've had folks encourage me to be strict about rustfmt, to keep things tidy, but I have to admit that it's annoying when 80% of submitted PRs fail because of something that's easy enough for us to fix afterwards.
Yeah, let's make that optional, but we'll need to make it a point to re-check rustfmt frequently, and also to make sure the tree is rustfmt-clean before we start making functional changes, so that commits don't have unrelated changes included in them.
Oh, I noticed the #![cfg_attr(test, deny(warnings))]
that was in lib.rs went away.. should we include that in the new tests.rs
?
great, looks good to me
I've added #![deny(warnings)]
to the crate. (I probably should do it for other crates as well)
BTW if you'll have time it would be nice if you'll add crate level docs with a basic description of SPAKE2 and usage example(s).
I've moved some tests to
tests
folder and others totests.rs
. Also code fromspake2.rs
is moved tolib.rs
.