From e0a4fee26a43991194838d088b3ed2708d980203 Mon Sep 17 00:00:00 2001 From: neonphog Date: Tue, 7 May 2024 14:45:18 -0600 Subject: [PATCH] use published sbd --- Cargo.lock | 6 ++++++ Cargo.toml | 6 +++--- crates/tx5-signal/examples/connect.rs | 3 +-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 33302092..e4969f76 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2167,6 +2167,8 @@ dependencies = [ [[package]] name = "sbd-client" version = "0.0.1-alpha" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a53e255b3ef2ae08df6c30a5969ea3f7bd8824888bcac0782900b572288a9d26" dependencies = [ "base64 0.22.1", "ed25519-dalek", @@ -2183,6 +2185,8 @@ dependencies = [ [[package]] name = "sbd-e2e-crypto-client" version = "0.0.1-alpha" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1dcdc1c0e5b7d325fc595e6d2ff8054f9967c6433ec7e00fa971837cc8f9781" dependencies = [ "sbd-client", "sodoken", @@ -2192,6 +2196,8 @@ dependencies = [ [[package]] name = "sbd-server" version = "0.0.1-alpha" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "caab024c5dde2e762b2577e927f980df891960b2be5751a17f87097bb33d3e7d" dependencies = [ "anstyle", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index c0032221..770b8b26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,6 +73,6 @@ webpki-roots = { version = "0.23.0" } webrtc = { version = "0.10.1" } zip = { version = "0.6.4", default-features = false, features = [ "deflate" ] } -[patch.crates-io] -sbd-e2e-crypto-client = { path = "../sbd/rust/sbd-e2e-crypto-client" } -sbd-server = { path = "../sbd/rust/sbd-server" } +#[patch.crates-io] +#sbd-e2e-crypto-client = { path = "../sbd/rust/sbd-e2e-crypto-client" } +#sbd-server = { path = "../sbd/rust/sbd-server" } diff --git a/crates/tx5-signal/examples/connect.rs b/crates/tx5-signal/examples/connect.rs index 777d43e5..a2365f1d 100644 --- a/crates/tx5-signal/examples/connect.rs +++ b/crates/tx5-signal/examples/connect.rs @@ -15,13 +15,12 @@ fn init_tracing() { async fn main() { init_tracing(); - /* let sig_url = std::env::args().collect::>(); let sig_url = sig_url.get(1).expect("expect sig_url"); - let sig_url = url::Url::parse(sig_url).expect("expect sig_url to be a url"); tracing::info!(%sig_url); + /* let (cli, _rcv) = tx5_signal::Cli::builder() .with_url(sig_url) .build()