fix(bindings): Make tracing dependency for crypto-js optional
@@ -24,7 +24,7 @@ crate-type = ["cdylib"]
[features]
default = ["tracing", "qrcode"]
qrcode = ["matrix-sdk-crypto/qrcode", "dep:matrix-sdk-qrcode"]
-tracing = []
+tracing = ["dep:tracing"]
[dependencies]
matrix-sdk-common = { version = "0.6.0", path = "../../crates/matrix-sdk-common", features = ["js"] }
@@ -40,6 +40,6 @@ console_error_panic_hook = "0.1.7"
serde_json = "1.0.79"
http = "0.2.6"
anyhow = "1.0.58"
-tracing = { version = "0.1.35", default-features = false, features = ["attributes"] }
+tracing = { version = "0.1.35", default-features = false, features = ["attributes"], optional = true }
tracing-subscriber = { version = "0.3.14", default-features = false, features = ["registry", "std"] }
zeroize = { workspace = true }
