cargo: Add feature for Tor support
modified crates/radicle-cli/Cargo.toml
@@ -13,6 +13,10 @@ rust-version.workspace = true
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/Cargo.toml
@@ -10,9 +10,10 @@ build = "build.rs"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -21,7 +22,7 @@ bytes = { workspace = true }
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/wire.rs
@@ -21,6 +21,7 @@ use radicle::collections::{RandomMap, RandomSet};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1091,6 +1092,7 @@ pub fn dial<G: Ecdh<Pk = NodeId>>(
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-protocol/Cargo.toml
@@ -10,12 +10,13 @@ rust-version.workspace = true
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service.rs
@@ -2655,6 +2655,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire.rs
@@ -14,6 +14,7 @@ use std::string::FromUtf8Error;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -56,6 +57,7 @@ pub enum Invalid {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -257,6 +259,7 @@ impl Encode for Refs {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -518,6 +521,7 @@ impl Decode for node::Features {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/message.rs
@@ -2,7 +2,9 @@ use std::{mem, net};
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -79,6 +81,7 @@ pub enum AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -94,6 +97,7 @@ impl From<&Address> for AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -108,6 +112,7 @@ impl TryFrom<u8> for AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -356,6 +361,7 @@ impl wire::Encode for Address {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -393,6 +399,7 @@ impl wire::Decode for Address {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/Cargo.toml
@@ -24,6 +24,7 @@ schemars = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -32,7 +33,7 @@ bytesize = { version = "2", features = ["serde"] }
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -476,6 +476,7 @@ impl Address {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -493,6 +494,7 @@ impl Address {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/node/address.rs
@@ -201,6 +201,7 @@ pub enum AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -216,6 +217,7 @@ impl From<&Address> for AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -230,6 +232,7 @@ impl TryFrom<u8> for AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/node/address/store.rs
@@ -535,6 +535,7 @@ impl TryFrom<&sql::Value> for AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -549,6 +550,7 @@ impl sql::BindableWithIndex for AddressType {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/node/config.rs
@@ -22,7 +22,9 @@ pub type ProtocolVersion = u8;
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -41,6 +43,7 @@ pub mod seeds {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -58,6 +61,7 @@ pub mod seeds {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -354,6 +358,7 @@ pub enum Relay {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -540,6 +545,7 @@ pub struct Config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -596,6 +602,7 @@ impl Config {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle/src/test/arbitrary.rs
@@ -5,8 +5,8 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -229,6 +229,7 @@ impl Arbitrary for Address {
|
|
|
|
|
|
| + | |
|
|
|
|
|