From ebd6735d21bd587ce9cbb276a4c07bdccea9c7c7 Mon Sep 17 00:00:00 2001 From: muji Date: Wed, 25 Oct 2023 12:17:46 +0800 Subject: [PATCH] Use new sos-net version. --- Cargo.lock | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- Cargo.toml | 8 +++---- 2 files changed, 65 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c3e60b82f..c5e109e1a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5541,7 +5541,7 @@ dependencies = [ "serde_json", "serial_test", "shell-words", - "sos-net", + "sos-net 0.5.23 (registry+https://github.com/rust-lang/crates.io-index)", "tempfile", "terminal-banner", "thiserror", @@ -5631,7 +5631,7 @@ dependencies = [ [[package]] name = "sos-net" -version = "0.5.22" +version = "0.5.23" dependencies = [ "anyhow", "async-recursion", @@ -5687,6 +5687,65 @@ dependencies = [ "whoami", ] +[[package]] +name = "sos-net" +version = "0.5.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12753c45ce24c2f5308ca1fda781578b794911bc76d2975629ac62aa2f0b01d1" +dependencies = [ + "async-recursion", + "async-stream", + "async-trait", + "axum", + "axum-macros", + "axum-server", + "bs58 0.4.0", + "dirs", + "either", + "file-guard", + "futures", + "hex", + "http", + "if-addrs 0.10.2", + "libp2p", + "libp2p-kad", + "libp2p-noise", + "libp2p-quic", + "libp2p-tls", + "libp2p-yamux", + "log", + "once_cell", + "ouroboros", + "parking_lot", + "pin-project-lite", + "rand 0.8.5", + "reqwest", + "rustc_version", + "secrecy", + "serde", + "serde_json", + "serde_with 2.3.3", + "sha3", + "sos-migrate 0.5.14 (registry+https://github.com/rust-lang/crates.io-index)", + "sos-sdk 0.5.19 (registry+https://github.com/rust-lang/crates.io-index)", + "tempfile", + "thiserror", + "tokio", + "tokio-stream", + "tokio-tungstenite", + "toml 0.5.11", + "tower", + "tower-http", + "tracing", + "tracing-subscriber", + "url", + "uuid", + "void", + "web3-address", + "web3-signature", + "whoami", +] + [[package]] name = "sos-sdk" version = "0.5.19" diff --git a/Cargo.toml b/Cargo.toml index 89d1cdfc72..75759ef83a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,18 +58,18 @@ rustyline = "11" rustyline-derive = "0.8" [target.'cfg(not(target_arch = "wasm32"))'.dependencies.sos-net] -version = "0.5.22" +version = "0.5.23" features = ["full"] -path = "workspace/net" +#path = "workspace/net" [target.'cfg(target_arch = "wasm32")'.dependencies] tokio = { version = "1", features = ["rt", "time", "sync"] } [target.'cfg(target_arch = "wasm32")'.dependencies.sos-net] -version = "0.5.22" +version = "0.5.23" default-features = false features = ["client"] -path = "workspace/net" +#path = "workspace/net" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] anyhow = "1"