relay connected!

This commit is contained in:
William Casarin
2022-12-11 17:09:44 -08:00
parent e6571d8847
commit 5619ae60ad
12 changed files with 266 additions and 53 deletions

53
Cargo.lock generated
View File

@@ -646,12 +646,12 @@ dependencies = [
"egui_extras",
"ehttp",
"enostr",
"ewebsock 0.2.0 (git+https://github.com/jb55/ewebsock.git?rev=93420aa96a990e7513647db775751a2dc9d4a1ba)",
"image",
"log",
"poll-promise",
"serde",
"serde_derive",
"tokio",
"tracing",
"tracing-subscriber",
"tracing-wasm",
@@ -918,10 +918,11 @@ dependencies = [
name = "enostr"
version = "0.1.0"
dependencies = [
"ewebsock 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"ewebsock",
"serde",
"serde_derive",
"serde_json",
"tracing",
]
[[package]]
@@ -1000,24 +1001,6 @@ dependencies = [
"web-sys",
]
[[package]]
name = "ewebsock"
version = "0.2.0"
source = "git+https://github.com/jb55/ewebsock.git?rev=93420aa96a990e7513647db775751a2dc9d4a1ba#93420aa96a990e7513647db775751a2dc9d4a1ba"
dependencies = [
"async-stream",
"futures",
"futures-util",
"js-sys",
"tokio",
"tokio-tungstenite",
"tracing",
"tungstenite",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
[[package]]
name = "expat-sys"
version = "2.1.6"
@@ -2797,11 +2780,35 @@ dependencies = [
"libc",
"memchr",
"mio",
"num_cpus",
"pin-project-lite",
"socket2",
"tokio-macros",
"winapi",
]
[[package]]
name = "tokio-macros"
version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tokio-rustls"
version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
dependencies = [
"rustls",
"tokio",
"webpki",
]
[[package]]
name = "tokio-tungstenite"
version = "0.17.2"
@@ -2810,8 +2817,12 @@ checksum = "f714dd15bead90401d77e04243611caec13726c2408afd5b31901dfcdcb3b181"
dependencies = [
"futures-util",
"log",
"rustls",
"tokio",
"tokio-rustls",
"tungstenite",
"webpki",
"webpki-roots",
]
[[package]]
@@ -2917,10 +2928,12 @@ dependencies = [
"httparse",
"log",
"rand",
"rustls",
"sha-1",
"thiserror",
"url",
"utf-8",
"webpki",
]
[[package]]