Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 51 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ rings-node = { path = "crates/node" }
rings-rpc = { path = "crates/rpc", default-features = false }
rings-snark = { path = "crates/snark", default-features = false }
rings-transport = { path = "crates/transport" }
rings-types = { path = "crates/types", default-features = false }
serde-wasm-bindgen = "0.6.5"
wasm-bindgen = "0.2.100"
wasm-bindgen-futures = "0.4.37"
Expand Down
6 changes: 3 additions & 3 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ primeorder = "0.13.2"
rand = { version = "0.8.5", features = ["getrandom"] }
rand_core = { version = "0.6.3", features = ["getrandom"] }
rand_hc = "0.3.1"
rings-transport = { workspace = true }
rings-transport = { workspace = true, optional = true }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.70"
sha1 = "0.10.1"
Expand All @@ -102,7 +102,7 @@ tokio = { version = "1.13.0", features = ["full"], optional = true }

# wasm
js-sys = { workspace = true, optional = true }
rexie = { version = "0.4.1", optional = true }
rexie = { version = "0.4.2", optional = true }
serde-wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen = { workspace = true, optional = true }
wasm-bindgen-futures = { workspace = true, optional = true }
Expand All @@ -123,4 +123,4 @@ tracing-wasm = "0.2.1"
wasm-bindgen-test = { workspace = true }

[target.'cfg(not(target_family="wasm"))'.dev-dependencies]
tokio = { version = "1.13.0", features = ["full"] }
tokio = { version = "1.47", features = ["full"] }
5 changes: 4 additions & 1 deletion crates/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ node = [
"rings-rpc/std",
"rings-derive/default",
"rings-transport/native-webrtc",
"rings-types/default",
"wasmer/default",
"wasmer-types",
"home",
Expand All @@ -58,6 +59,7 @@ browser = [
"rings-core/wasm",
"rings-rpc/wasm",
"rings-derive/wasm",
"rings-types/websys",
"rings-transport/web-sys-webrtc",
"serde-wasm-bindgen",
"wasmer/js-default",
Expand Down Expand Up @@ -88,7 +90,8 @@ rings-core = { workspace = true, optional = true }
rings-derive = { workspace = true, optional = true }
rings-rpc = { workspace = true, optional = true }
rings-snark = { workspace = true, optional = true }
rings-transport = { workspace = true }
rings-transport = { workspace = true, optional = true }
rings-types = { workspace = true, optional = true }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.70"
serde_yaml = "0.9.17"
Expand Down
1 change: 1 addition & 0 deletions crates/node/src/backend/native/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ use dashmap::DashMap;
use rings_core::message::MessagePayload;
use rings_core::message::MessageVerificationExt;
use rings_rpc::method::Method;
use rings_types::AsyncProvider;
use serde::Deserialize;
use serde::Serialize;

Expand Down
2 changes: 1 addition & 1 deletion crates/node/src/backend/native/service/tcp_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use std::time::Duration;
use bytes::Bytes;
use rings_core::dht::Did;
use rings_rpc::method::Method;
use rings_types::AsyncProvider;
use tokio::io::AsyncReadExt;
use tokio::io::AsyncWriteExt;
use tokio::net::TcpStream;
Expand All @@ -19,7 +20,6 @@ use crate::backend::types::ServiceMessage;
use crate::backend::types::TunnelDefeat;
use crate::backend::types::TunnelId;
use crate::provider::Provider;

/// Abstract Tcp Tunnel
pub struct Tunnel {
tid: TunnelId,
Expand Down
1 change: 1 addition & 0 deletions crates/node/src/backend/snark/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use rings_snark::snark::ProverKey;
use rings_snark::snark::PublicParams;
use rings_snark::snark::VerifierKey;
use rings_snark::snark::SNARK;
use rings_types::AsyncProvider;
use serde::Deserialize;
use serde::Serialize;

Expand Down
Loading
Loading