rust/edition: 2021 → 2024
modified Cargo.toml
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/main.rs
@@ -223,7 +223,7 @@ impl ExternalCommand {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cob/src/tests.rs
@@ -22,7 +22,7 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -56,7 +56,7 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -108,7 +108,7 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -163,9 +163,9 @@ mod git {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -264,10 +264,10 @@ mod git {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-crypto/src/ssh/keystore.rs
@@ -284,7 +284,7 @@ impl EcSk for MemorySigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -356,7 +356,7 @@ impl MemorySigner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/control.rs
@@ -342,8 +342,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/runtime.rs
@@ -318,7 +318,8 @@ impl Runtime {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/gossip.rs
@@ -3,7 +3,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,7 +35,7 @@ pub fn messages(count: usize, now: LocalTime, delta: LocalDuration) -> Vec<Messa
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/peer.rs
@@ -434,7 +434,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/simulator.rs
@@ -666,7 +666,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/tests.rs
@@ -22,7 +22,7 @@ use radicle::node::Link;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -78,7 +78,7 @@ pub static TEST_CASES: LazyLock<usize> = LazyLock::new(|| {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -414,7 +414,7 @@ fn test_inventory_pruning() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -722,7 +722,7 @@ fn test_refs_announcement_relay_public() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -803,7 +803,7 @@ fn test_refs_announcement_relay_private() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -817,7 +817,7 @@ fn test_refs_announcement_relay_private() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -960,7 +960,7 @@ fn test_refs_announcement_no_subscribe() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1406,7 +1406,7 @@ fn test_maintain_connections_failed_attempt() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1425,7 +1425,7 @@ fn test_seed_repo_subscribe() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1450,7 +1450,7 @@ fn test_fetch_missing_inventory_on_gossip() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1596,7 +1596,7 @@ fn test_queued_fetch_from_ann_same_rid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1646,7 +1646,7 @@ fn test_queued_fetch_from_command_same_rid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1656,7 +1656,7 @@ fn test_queued_fetch_from_command_same_rid() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1909,7 +1909,7 @@ fn prop_inventory_exchange_dense() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1933,7 +1933,7 @@ fn test_announcement_message_amplification() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -2030,7 +2030,7 @@ fn test_announcement_message_amplification() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/wire.rs
@@ -1297,9 +1297,9 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/worker/upload_pack.rs
@@ -39,7 +39,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-oid/src/lib.rs
@@ -108,7 +108,7 @@ impl Oid {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -116,7 +116,7 @@ impl Oid {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/bounded.rs
@@ -268,8 +268,10 @@ unsafe impl<const N: usize> bytes::BufMut for BoundedVec<u8, N> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/deserializer.rs
@@ -85,7 +85,9 @@ unsafe impl<const B: usize, D: wire::Decode> bytes::BufMut for Deserializer<B, D
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/service.rs
@@ -176,8 +176,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/helpers.rs
@@ -12,7 +12,7 @@ pub fn create_queue(capacity: usize) -> Queue {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/properties/merge.rs
@@ -32,7 +32,7 @@ fn same_rid_merges_anywhere_in_queue(max_size: MaxQueueSize, merge_index: usize)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,9 +47,9 @@ fn combines_refs(base_refs_count: u8, merge_refs_count: u8) -> bool {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -84,13 +84,13 @@ fn combines_refs(base_refs_count: u8, merge_refs_count: u8) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,7 +114,7 @@ fn longer_timeout_preserved(short_secs: u16, long_secs: u16) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -144,18 +144,18 @@ fn longer_timeout_preserved(short_secs: u16, long_secs: u16) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,7 +175,7 @@ fn different_rid_accepted(base_item: QueuedFetch) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -186,7 +186,7 @@ fn different_rid_accepted(base_item: QueuedFetch) -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -196,14 +196,14 @@ fn succeed_when_at_capacity() -> bool {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/queue/unit.rs
@@ -14,7 +14,7 @@ fn zero_timeout_accepted() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -26,7 +26,7 @@ fn max_timeout_accepted() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,7 +35,7 @@ fn max_timeout_accepted() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -56,9 +56,9 @@ fn empty_refs_items_can_be_equal() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -81,7 +81,7 @@ fn merge_preserves_position_in_queue() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/cancel.rs
@@ -8,8 +8,8 @@ use crate::fetcher::{ActiveFetch, FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -47,10 +47,10 @@ fn single_ongoing() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -91,7 +91,7 @@ fn ongoing_and_queued() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -101,10 +101,10 @@ fn non_existent_returns_unexpected() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/fetch.rs
@@ -11,8 +11,8 @@ use crate::fetcher::{FetchConfig, RefsToFetch};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -44,9 +44,9 @@ fn fetch_start_first_fetch_for_node() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -72,9 +72,9 @@ fn fetch_different_repo_same_node_within_capacity() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -106,8 +106,8 @@ fn fetch_same_repo_different_nodes_queues_second() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -137,8 +137,8 @@ fn fetch_duplicate_returns_already_fetching() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -169,9 +169,9 @@ fn fetch_same_repo_different_refs_enqueues() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -202,11 +202,11 @@ fn fetch_at_capacity_enqueues() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -255,9 +255,9 @@ fn fetch_queue_rejected_capacity_reached() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -315,9 +315,9 @@ fn fetch_queue_merges_already_queued() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -357,9 +357,9 @@ fn fetch_queue_merge_empty_refs_fetches_all() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -399,8 +399,8 @@ fn fetch_queue_merge_takes_longer_timeout() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/command/fetched.rs
@@ -8,8 +8,8 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -39,10 +39,10 @@ fn complete_single_ongoing() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -85,10 +85,10 @@ fn complete_then_dequeue_fifo() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -124,8 +124,8 @@ fn complete_one_of_multiple() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/concurrent.rs
@@ -8,11 +8,11 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -65,9 +65,9 @@ fn interleaved_operations() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/config.rs
@@ -8,11 +8,11 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -39,10 +39,10 @@ fn high_concurrency() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/dequeue.rs
@@ -10,9 +10,9 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -48,11 +48,11 @@ fn cannot_dequeue_while_node_at_capacity() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -105,7 +105,7 @@ fn maintains_fifo_order() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/helpers.rs
@@ -13,6 +13,6 @@ pub fn config(max_concurrency: usize, max_queue_size: usize) -> Config {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/invariant.rs
@@ -8,9 +8,9 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/fetcher/test/state/multinode.rs
@@ -8,12 +8,12 @@ use crate::fetcher::{FetchConfig, FetcherState};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -66,8 +66,8 @@ fn high_count() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/gossip/store.rs
@@ -389,8 +389,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/limiter.rs
@@ -159,7 +159,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -189,7 +189,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -210,7 +210,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service/message.rs
@@ -92,7 +92,7 @@ impl NodeAnnouncement {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -703,7 +703,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/message.rs
@@ -443,11 +443,11 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -459,10 +459,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -474,14 +474,14 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -539,7 +539,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-systemd/src/listen.rs
@@ -20,20 +20,28 @@ const SD_LISTEN_FDS_START: RawFd = 3;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
modified crates/radicle-term/src/io.rs
@@ -70,7 +70,7 @@ impl PaintTarget {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -81,7 +81,7 @@ macro_rules! info {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +100,7 @@ macro_rules! tip {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-term/src/textarea.rs
@@ -30,7 +30,7 @@ impl TextArea {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/issue.rs
@@ -1080,8 +1080,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1119,8 +1119,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -1218,8 +1218,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/issue/cache.rs
@@ -635,7 +635,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -657,10 +657,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -698,12 +698,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -733,9 +733,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -763,9 +763,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -793,9 +793,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/patch.rs
@@ -2999,7 +2999,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3251,9 +3251,9 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3308,7 +3308,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -3370,7 +3370,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/patch/cache.rs
@@ -732,8 +732,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -763,7 +763,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -791,12 +791,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -879,12 +879,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -915,10 +915,10 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -957,9 +957,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -988,9 +988,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1019,9 +1019,9 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/store.rs
@@ -344,7 +344,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/stream.rs
@@ -177,7 +177,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -188,13 +188,13 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -383,7 +383,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/cob/thread.rs
@@ -638,7 +638,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -700,7 +700,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -725,7 +725,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -747,7 +747,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -812,7 +812,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -856,7 +856,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -915,7 +915,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -925,7 +925,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -935,7 +935,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical.rs
@@ -304,7 +304,7 @@ impl<'a, 'b> QuorumFinder<'a, 'b> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/quorum.rs
@@ -156,7 +156,7 @@ impl CommitQuorum {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/rules.rs
@@ -1026,7 +1026,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1041,7 +1041,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/git/canonical/voting.rs
@@ -66,7 +66,7 @@ impl CommitVoting {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/doc.rs
@@ -978,7 +978,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -988,7 +988,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -998,11 +998,11 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1010,7 +1010,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1149,8 +1149,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/identity/doc/update.rs
@@ -289,7 +289,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -310,7 +310,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -343,7 +343,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -488,7 +488,7 @@ impl Address {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1420,11 +1420,11 @@ pub(crate) mod properties {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/address/store.rs
@@ -575,7 +575,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -584,7 +584,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -593,7 +593,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -632,7 +632,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -672,7 +672,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -701,7 +701,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -776,8 +776,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -868,8 +868,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -909,16 +909,16 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -980,7 +980,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/config.rs
@@ -718,7 +718,7 @@ impl From<LimitGossipMaxAge> for LocalDuration {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/notifications/store.rs
@@ -294,7 +294,7 @@ impl<T> Store<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -424,7 +424,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -447,8 +447,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -480,7 +480,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -558,7 +558,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -600,7 +600,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -647,7 +647,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/policy/store.rs
@@ -467,7 +467,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -480,7 +480,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -520,7 +520,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -540,7 +540,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -557,7 +557,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -569,7 +569,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/refs/store.rs
@@ -186,8 +186,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -212,8 +212,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -232,8 +232,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/routing.rs
@@ -357,8 +357,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -377,8 +377,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -398,9 +398,9 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -427,8 +427,8 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -441,10 +441,10 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -459,7 +459,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -490,7 +490,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -503,7 +503,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/sync/announce.rs
@@ -586,7 +586,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -642,7 +642,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -668,7 +668,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -729,7 +729,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -776,7 +776,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -840,7 +840,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -887,7 +887,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -948,7 +948,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -968,7 +968,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1010,11 +1010,11 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1054,7 +1054,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1122,7 +1122,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1170,7 +1170,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1193,10 +1193,10 @@ mod test {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1230,7 +1230,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1301,7 +1301,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1375,7 +1375,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1416,7 +1416,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1451,7 +1451,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1492,7 +1492,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1554,7 +1554,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1596,7 +1596,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node/sync/fetch.rs
@@ -545,7 +545,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -574,10 +574,10 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -597,7 +597,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -614,7 +614,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -626,7 +626,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -640,7 +640,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -668,7 +668,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -686,7 +686,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -718,7 +718,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -735,7 +735,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -777,7 +777,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -787,7 +787,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -815,7 +815,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -824,7 +824,7 @@ mod test {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/profile.rs
@@ -431,7 +431,7 @@ impl Profile {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -721,7 +721,7 @@ impl Home {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -729,7 +729,7 @@ impl Home {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -737,7 +737,7 @@ impl Home {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/profile/config.rs
@@ -380,7 +380,7 @@ impl RawConfig {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/arbitrary.rs
@@ -23,7 +23,7 @@ use crate::test::storage::{MockRepository, MockStorage};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -65,9 +65,9 @@ pub fn vec<T: Eq + Arbitrary>(size: usize) -> Vec<T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -86,32 +86,32 @@ pub fn nonempty_storage(size: usize) -> MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/assert.rs
@@ -40,56 +40,56 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/test/fixtures.rs
@@ -244,7 +244,7 @@ pub fn populate(repo: &git::raw::Repository, scale: usize) -> Vec<git::fmt::Qual
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|