Skip to content

Commit 7b8676c

Browse files
author
Frederik Rothenberger
committed
Remove dependency on identity_core default features
`identity_did` and `identity_document` depend on `identity_core` but do not turn off default features. This means that these crates cannot be compiled for `wasm32-unknown-unknown` without a dependency on `js-sys`. Given the default features are not required, removing them makes these crates compatible across a wider range of compilation targets.
1 parent 84f1b7e commit 7b8676c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

identity_did/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description = "Agnostic implementation of the Decentralized Identifiers (DID) st
1313
[dependencies]
1414
did_url_parser = { version = "0.2.0", features = ["std", "serde"] }
1515
form_urlencoded = { version = "1.2.0", default-features = false, features = ["alloc"] }
16-
identity_core = { version = "=1.3.1", path = "../identity_core" }
16+
identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false }
1717
serde.workspace = true
1818
strum.workspace = true
1919
thiserror.workspace = true

identity_document/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description = "Method-agnostic implementation of the Decentralized Identifiers (
1313

1414
[dependencies]
1515
did_url_parser = { version = "0.2.0", features = ["std", "serde"] }
16-
identity_core = { version = "=1.3.1", path = "../identity_core" }
16+
identity_core = { version = "=1.3.1", path = "../identity_core", default-features = false }
1717
identity_did = { version = "=1.3.1", path = "../identity_did" }
1818
identity_verification = { version = "=1.3.1", path = "../identity_verification", default-features = false }
1919
indexmap = { version = "2.0", default-features = false, features = ["std", "serde"] }

0 commit comments

Comments
 (0)