Isis Lovecruft
89d246ec15
Rearrange extern crates.
2017-03-15 18:57:03 +00:00
Isis Lovecruft
e869d14387
Fix doctests to specify hash function choice.
2017-03-15 18:56:24 +00:00
Isis Lovecruft
5e84eedfbb
Add benchmarks with blake2b.
2017-03-15 18:44:59 +00:00
Isis Lovecruft
4eaa1321ee
Feature gate rand on nightly.
...
We can't use features on non-nightly channels.
2017-03-14 23:15:59 +00:00
Isis Lovecruft
d00c3f9f3c
Make all the doctests actually run.
2017-03-14 21:50:17 +00:00
Isis Lovecruft
807d52f655
Refuse to compile if documentation is missing.
2017-03-14 21:39:28 +00:00
Isis Lovecruft
85b0cd933c
Split off benchmarks into separate module and require --features=bench.
...
This allows us to compile (and test) on the rustc stable and beta channels.
Benchmarking is only available on nightly, with the --features=bench flag.
2017-03-14 21:37:46 +00:00
Isis Lovecruft
304d591756
Make key generation generic to hash function choice.
2017-03-14 21:36:35 +00:00
Isis Lovecruft
e2a649eddb
Add a missing use ed25519::Signature in a docstring example.
...
* THANKS to Tony Arcieri (@tarcieri) for pointing out the mistake.
2017-03-09 01:12:31 +00:00
Tony Arcieri
4f81231dc2
Add #![no_std]
...
Use ::core in lieu of ::std, allowing this crate to be usable in #![no_std]
environments.
Gates features that presently depend on ::std (presently just rand) behind a
"std" cargo feature, which is enabled by default.
Switches from the "rust-crypto" crate (which is not #![no_std] compatible) to
the sha2 crate, which is factored out of the original "rust-crypto" project
and being actively maintained.
2017-02-06 13:48:35 -08:00
Isis Lovecruft
50f53841bf
Ensure signatures match bytewise with reference and Go implementations.
2016-12-09 01:18:46 +00:00
Isis Lovecruft
27ee13b6ef
Initial commit
2016-12-01 22:03:46 +00:00