Skip to content

Commit

Permalink
Remove direct dependency to bitwarden in wasm-internal (#1131)
Browse files Browse the repository at this point in the history
In preparation for the bitwarden crate being removes we can stop
depending on it in wasm-internal.
  • Loading branch information
Hinton authored Oct 11, 2024
1 parent 97116b1 commit 43e5ae9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/bitwarden-wasm-internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords.workspace = true
crate-type = ["cdylib"]

[dependencies]
bitwarden = { workspace = true, features = ["wasm"] }
bitwarden-core = { workspace = true, features = ["wasm", "internal"] }
console_error_panic_hook = "0.1.7"
console_log = { version = "1.0.0", features = ["color"] }
js-sys = "0.3.68"
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden-wasm-internal/src/client.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extern crate console_error_panic_hook;
use std::rc::Rc;

use bitwarden::{Client, ClientSettings};
use bitwarden_core::{Client, ClientSettings};
use log::{set_max_level, Level};
use wasm_bindgen::prelude::*;

Expand Down

0 comments on commit 43e5ae9

Please sign in to comment.