Skip to content

Commit

Permalink
chore: update rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyrd committed Oct 28, 2024
1 parent 0337fdb commit fc87de5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/web-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ serde-wasm-bindgen = { version = "0.6" }
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4" }
miden-tx-prover = { git = "https://github.com/0xPolygonMiden/miden-base", branch = "tomyrd-lazy-remote-prover-connection", default-features = false, features = ["async", "testing"] }
console_error_panic_hook = "0.1.6"

[dev-dependencies]
miden-client = { path = "../rust-client", default-features = false, features = ["idxdb", "web-tonic", "testing"] }
miden-lib = { workspace = true, default-features = false, features = ["testing"] }
miden-objects = { workspace = true, default-features = false, features = ["testing"] }
web-sys = { version = "0.3", features = ["console"]}
console_error_panic_hook = "0.1.6"
2 changes: 2 additions & 0 deletions crates/web-client/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
extern crate alloc;
use alloc::sync::Arc;

use console_error_panic_hook::set_once;
use miden_client::{
rpc::WebTonicRpcClient,
store::{web_store::WebStore, StoreAuthenticator},
Expand Down Expand Up @@ -39,6 +40,7 @@ impl Default for WebClient {
impl WebClient {
#[wasm_bindgen(constructor)]
pub fn new() -> Self {
set_once();
WebClient { inner: None, store: None }
}

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.80"
channel = "1.82"
components = ["rustfmt", "rust-src", "clippy"]
targets = ["wasm32-unknown-unknown"]
profile = "minimal"

0 comments on commit fc87de5

Please sign in to comment.