Revert "node: Use `std::time` for reactor and wire"
1 passed
1 failed
(2 total)
View logs
modified crates/radicle-node/src/reactor.rs
@@ -10,10 +10,11 @@ use std::fmt::{Debug, Display, Formatter};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -211,7 +212,7 @@ pub trait ReactionHandler: Send + Iterator<Item = Action<Self::Listener, Self::T
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -226,7 +227,7 @@ pub trait ReactionHandler: Send + Iterator<Item = Action<Self::Listener, Self::T
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -234,7 +235,7 @@ pub trait ReactionHandler: Send + Iterator<Item = Action<Self::Listener, Self::T
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -371,7 +372,7 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -387,12 +388,12 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -403,9 +404,7 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -421,14 +420,14 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -450,7 +449,7 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -471,8 +470,7 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -490,13 +488,13 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -506,7 +504,7 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -564,7 +562,7 @@ impl<H: ReactionHandler> Runtime<H> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/reactor/timer.rs
@@ -1,11 +1,13 @@
| + | |
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -29,32 +31,32 @@ impl Timer {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,12 +72,12 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -83,7 +85,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -92,13 +94,13 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -106,17 +108,17 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/wire.rs
@@ -5,7 +5,6 @@ use std::collections::hash_map::Entry;
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -13,6 +12,7 @@ use cyphernet::addr::{HostName, InetHost, NetAddr};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -291,35 +291,6 @@ impl Peers {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -342,8 +313,6 @@ pub(crate) struct Wire<D, S, G: crypto::signature::Signer<crypto::Signature> + E
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -366,14 +335,9 @@ where
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -532,7 +496,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -545,8 +509,10 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -557,7 +523,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -621,7 +587,12 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|