crypto: Optionally provide JSON Schema
Providing the schema in radicle-crypto saves a lot of repetition
in radicle, and can be done via an optional dependency.
9 files changed
+21
-80
82ad52b1
→
faeee9f3
modified Cargo.lock
@@ -2959,6 +2959,7 @@ dependencies = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-crypto/Cargo.toml
@@ -25,6 +25,7 @@ multibase = { workspace = true }
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/lib.rs
@@ -158,6 +158,20 @@ impl TryFrom<String> for Signature {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-schemars/src/main.rs
@@ -83,10 +83,7 @@ fn print_schema() -> io::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/Cargo.toml
@@ -20,6 +20,7 @@ qcheck = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -553,10 +553,6 @@ impl std::fmt::Display for Link {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -576,10 +572,6 @@ impl Session {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -700,10 +692,6 @@ impl From<Vec<Seed>> for Seeds {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified crates/radicle/src/node/command.rs
@@ -40,10 +40,6 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -69,13 +65,7 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -91,10 +81,6 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -102,22 +88,12 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -136,23 +112,13 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/schemars_ext.rs
@@ -4,29 +4,6 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified crates/radicle/src/storage/refs.rs
@@ -376,10 +376,6 @@ impl<V> Deref for SignedRefs<V> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|