"rad config schema" prints out a json schema This will be a great addition especially for LSP users who dont want to read through all the code to know what options can be changed where and how.
1 failed
(1 total)
View logs
modified Cargo.lock
@@ -2203,6 +2203,7 @@ dependencies = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -2232,6 +2233,7 @@ dependencies = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -2638,6 +2640,30 @@ dependencies = [
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2701,6 +2727,17 @@ dependencies = [
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/Cargo.toml
@@ -45,6 +45,7 @@ tree-sitter-bash = { version = "0.23.3" }
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/config.rs
@@ -3,6 +3,8 @@ use std::ffi::OsString;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -23,6 +25,7 @@ Usage
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -43,6 +46,7 @@ enum Operation {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -79,6 +83,7 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -140,6 +145,10 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/Cargo.toml
@@ -34,6 +34,7 @@ sqlite = { version = "0.32.0", features = ["bundled"] }
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/cli.rs
@@ -1,5 +1,6 @@
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/explorer.rs
@@ -1,5 +1,6 @@
|
|
|
|
| + | |
|
|
|
|
|
@@ -81,7 +82,7 @@ impl std::fmt::Display for ExplorerUrl {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/identity/doc/id.rs
@@ -2,6 +2,7 @@ use std::ops::Deref;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -18,9 +19,13 @@ pub enum IdError {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -25,6 +25,7 @@ use std::{fmt, io, net, thread, time};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -291,7 +292,9 @@ impl AsRef<str> for UserAgent {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -499,10 +502,16 @@ impl<T: Serialize> CommandResult<T> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node/config.rs
@@ -3,6 +3,8 @@ use std::ops::Deref;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -57,7 +59,9 @@ pub mod seeds {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -94,16 +98,18 @@ impl Network {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -135,13 +141,20 @@ impl Default for Limits {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -213,7 +226,7 @@ impl Default for FetchPackSizeLimit {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -232,7 +245,7 @@ impl Default for ConnectionLimits {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -240,7 +253,7 @@ pub struct RateLimit {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -263,9 +276,13 @@ impl Default for RateLimits {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -300,7 +317,7 @@ impl Deref for ConnectAddress {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -316,7 +333,7 @@ impl Default for PeerConfig {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -329,7 +346,7 @@ pub enum Relay {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -343,7 +360,9 @@ pub enum AddressConfig {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -379,7 +398,7 @@ impl From<DefaultSeedingPolicy> for SeedingPolicy {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -409,6 +428,7 @@ pub struct Config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/node/policy.rs
@@ -1,6 +1,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -157,7 +159,9 @@ impl TryFrom<&sqlite::Value> for Policy {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/profile/config.rs
@@ -2,6 +2,8 @@ use std::io::Write;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -23,7 +25,7 @@ pub enum ConfigError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/serde_ext.rs
@@ -29,6 +29,12 @@ pub mod string {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -102,6 +108,14 @@ pub mod localtime {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -125,7 +139,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/web.rs
@@ -1,11 +1,10 @@
| - | |
| - | |
| - | |
| - | |
|
|
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -23,7 +22,7 @@ pub struct Config {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|