Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Update `netservices` dependency
Alexis Sellier committed 3 years ago
commit b4f44f39f2c5df4b4ca0115f3d8575ae27f288c4
parent 5acfeb2b7992b4b0f6b45269db6737e5bb8a8a02
4 files changed +5 -9
modified Cargo.lock
@@ -1409,7 +1409,8 @@ dependencies = [
[[package]]
name = "io-reactor"
version = "0.1.0"
-
source = "git+https://github.com/rust-amplify/io-reactor?rev=9a2e787621c78987c866b13ff820bafce248ddc5#9a2e787621c78987c866b13ff820bafce248ddc5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "790a9f1564a15864f28605fb0613dee98c8ebeee0ace7a5c76c2118f0e202f78"
dependencies = [
 "amplify",
 "crossbeam-channel",
@@ -1653,7 +1654,7 @@ dependencies = [
[[package]]
name = "netservices"
version = "0.1.0"
-
source = "git+https://github.com/cyphernet-dao/rust-netservices#50944dfcf1593ca568b8a1c3ee4b44fc05deb8ca"
+
source = "git+https://github.com/cyphernet-dao/rust-netservices#ddc1fdfec6ce4ec7f94efb0efefc6cd79048686f"
dependencies = [
 "amplify",
 "cyphernet",
modified Cargo.toml
@@ -28,11 +28,6 @@ inherits = "release"
debug = true
incremental = false

-
[patch.crates-io.io-reactor]
-
git = "https://github.com/rust-amplify/io-reactor"
-
rev = "9a2e787621c78987c866b13ff820bafce248ddc5"
-
version = "0.1.0"
-

[patch.crates-io.netservices]
git = "https://github.com/cyphernet-dao/rust-netservices"
version = "0.1.0"
modified radicle-node/Cargo.toml
@@ -24,7 +24,7 @@ log = { version = "0.4.17", features = ["std"] }
localtime = { version = "1" }
netservices = { version = "0", features = ["io-reactor", "socket2", "log"] }
nonempty = { version = "0.8.1", features = ["serialize"] }
-
io-reactor = { version = "0", features = ["popol"] }
+
io-reactor = { version = "0.1.0", features = ["popol"] }
qcheck = { version = "1", default-features = false, optional = true }
sqlite = { version = "0.30.3" }
sqlite3-src = { version = "0.4.0", features = ["bundled"] } # Ensures static linking
modified radicle-node/src/wire/protocol.rs
@@ -362,7 +362,7 @@ where
        self.service.tick(LocalTime::from(SystemTime::now()));
    }

-
    fn handle_wakeup(&mut self) {
+
    fn handle_timer(&mut self) {
        self.service.wake()
    }