diff --git a/libs/telemetry/Cargo.toml b/libs/telemetry/Cargo.toml index a80665ef9d8..6c7b3222663 100644 --- a/libs/telemetry/Cargo.toml +++ b/libs/telemetry/Cargo.toml @@ -5,7 +5,6 @@ version = "0.1.0" [dependencies] ahash = "0.8.11" -rand.workspace = true serde.workspace = true serde_json.workspace = true thiserror = "1.0" @@ -17,5 +16,8 @@ crosstarget-utils = { path = "../crosstarget-utils" } enumflags2.workspace = true derive_more.workspace = true +[target.'cfg(not(target_arch = "wasm32-unknown-unknown"))'.dependencies] +rand.workspace = true + [dev-dependencies] insta = { version = "1.41", features = ["redactions", "ron"] }