We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780f6a7 commit 18eddc5Copy full SHA for 18eddc5
crates/cuid2/Cargo.toml
@@ -38,7 +38,7 @@ criterion.workspace = true
38
num_cpus = "1.15.0"
39
proptest.workspace = true
40
41
-[target.wasm32-unknown-unknown.dependencies]
+[target.'cfg(target_family = "wasm")'.dependencies]
42
# Just specified so we can add a feature when the js feature is enabled.
43
# This works fine on wasm targets other than unknown-unknown
44
getrandom = { version = "0", features = ["js"] }
0 commit comments