Update `netservices` dependency

This commit is contained in:
Alexis Sellier 2023-01-25 15:35:07 +01:00
parent 5acfeb2b79
commit b4f44f39f2
No known key found for this signature in database
4 changed files with 5 additions and 9 deletions

5
Cargo.lock generated
View File

@ -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",

View File

@ -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"

View File

@ -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

View File

@ -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()
}