Skip to content

Commit

Permalink
Fix defaults switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Rothenberger committed Sep 3, 2024
1 parent ca56864 commit d50959c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion identity_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ url = { version = "2.4", default-features = false, features = ["serde"] }
zeroize = { version = "1.6", default-features = false }

[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
js-sys = { version = "0.3.55", default-features = true, optional = true }
js-sys = { version = "0.3.55", default-features = false, optional = true }

[dev-dependencies]
proptest = { version = "1.0.0" }
Expand All @@ -39,6 +39,7 @@ rustdoc-args = ["--cfg", "docsrs"]
workspace = true

[features]
default = ["js-sys"]
# Enables a macro to provide a custom time (Timestamp::now_utc) implementation, see src/custom_time.rs
custom_time = []

Expand Down

0 comments on commit d50959c

Please sign in to comment.