Go to file
Henry de Valence 84b042003b Add methods to the Sealed trait, simplifying types.
The motivation is as follows.  The sealed trait pattern allows creating
a type-level equivalent of an enum: the trait corresponds to the enum
type and its implementors correspond to the enum variants; the `Sealed`
restriction ensures that there is a fixed set of enum variants.

In this picture, adding methods to the public trait corresponds to a
public method on an enum, while adding methods to the private trait
corresponds to a private method on an enum.  This means that we can add
a method to get the basepoint (whose possible choices are enumerated by
SigType) and avoid having to do specialized impls.
2019-12-04 11:41:46 -08:00
src Add methods to the Sealed trait, simplifying types. 2019-12-04 11:41:46 -08:00
.gitignore cargo new --lib 2019-12-02 14:12:06 -08:00
Cargo.toml Add keygen. 2019-12-03 15:39:55 -08:00
README.md Add docs command. 2019-12-02 22:38:15 -08:00

README.md

redjubjub-zebra

A minimal Redjubjub implementation for use in Zebra.

docs

cargo doc --features "nightly" --open