Skip to content

Commit 1124a6b

Browse files
committed
feat: expose tracing
1 parent 0832035 commit 1124a6b

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
pub mod event;
2-
pub mod level;
3-
pub mod span;
1+
mod event;
2+
mod level;
3+
mod span;
44

5-
// use wasm_bindgen::prelude::*;
6-
7-
// use crate::wasm::span::Span;
8-
9-
// #[wasm_bindgen]
10-
// pub struct Tracing {}
5+
pub use event::*;
6+
pub use level::*;
7+
pub use span::*;

crates/bitwarden-wasm-internal/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ license-file.workspace = true
1313
keywords.workspace = true
1414

1515
[features]
16-
bitwarden-license = ["bitwarden-pm/bitwarden-license", "dep:bitwarden-commercial-vault"]
16+
bitwarden-license = [
17+
"bitwarden-pm/bitwarden-license",
18+
"dep:bitwarden-commercial-vault",
19+
]
1720

1821
[lib]
1922
crate-type = ["cdylib"]
@@ -27,6 +30,7 @@ bitwarden-core = { workspace = true, features = ["wasm", "internal"] }
2730
bitwarden-crypto = { workspace = true, features = ["wasm"] }
2831
bitwarden-error = { workspace = true }
2932
bitwarden-ipc = { workspace = true, features = ["wasm"] }
33+
bitwarden-logging = { workspace = true, features = ["wasm"] }
3034
bitwarden-pm = { workspace = true, features = ["wasm"] }
3135
bitwarden-ssh = { workspace = true, features = ["wasm"] }
3236
bitwarden-state = { workspace = true, features = ["wasm"] }

crates/bitwarden-wasm-internal/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ mod pure_crypto;
88
mod ssh;
99

1010
pub use bitwarden_ipc::wasm::*;
11+
pub use bitwarden_logging::wasm::*;
1112
pub use client::BitwardenClient;
1213
pub use init::init_sdk;

0 commit comments

Comments
 (0)