Skip to content

Commit

Permalink
make rand dependency conditional on target
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Dec 16, 2024
1 parent dcc3fea commit ef8afe7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/telemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"] }

0 comments on commit ef8afe7

Please sign in to comment.