The crypto types are useful to use in other components that are separate from the radicle crate, e.g. the incoming radicle-cobs crate. Separate out the types into a radicle-crypto crate. This crate defines the usual PublicKey, SecretKey, and Signature types. It also provides the ssh functionality, under the `ssh` feature. It is also necessary to provide the `From` impl for `Component` here, which again is guarded by the `git-ref-format` feature. The `Arbitrary` implementation are moved. The arbitrary decision of redefining `ByteArray` in both radicle-crypto and radicle was made. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||