From f14ed0fabea2b204829e7dc7f1a1422ff7b64800 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Wed, 1 Mar 2023 16:12:16 +0100 Subject: [PATCH] Don't disable default features of `form_urlencoded` In servo/rust-url#722, we would like to make the crate potentially not need `alloc` in the future, but to do so, we must now introduce a required `alloc` feature. Since this crate uses `default-features = false` on `form_urlencoded` (which previously did nothing), it will break once that change lands. Also requires https://github.com/l1h3r/did_url/pull/2 to land (since this crate depends on `did_url`). --- identity_did/Cargo.toml | 2 +- identity_document/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/identity_did/Cargo.toml b/identity_did/Cargo.toml index be99741ce4..1d00f94acd 100644 --- a/identity_did/Cargo.toml +++ b/identity_did/Cargo.toml @@ -12,7 +12,7 @@ description = "Agnostic implementation of the Decentralized Identifiers (DID) st [dependencies] did_url = { version = "0.1", default-features = false, features = ["std", "serde"] } -form_urlencoded = { version = "1.0.1", default-features = false } +form_urlencoded = "1.1.0" identity_core = { version = "=0.7.0-alpha.5", path = "../identity_core" } serde.workspace = true strum.workspace = true diff --git a/identity_document/Cargo.toml b/identity_document/Cargo.toml index 2c57a8b0a8..e7413ca760 100644 --- a/identity_document/Cargo.toml +++ b/identity_document/Cargo.toml @@ -13,7 +13,7 @@ description = "Method-agnostic implementation of the Decentralized Identifiers ( [dependencies] did_url = { version = "0.1", default-features = false, features = ["std", "serde"] } -form_urlencoded = { version = "1.0.1", default-features = false } +form_urlencoded = "1.1.0" identity_core = { version = "=0.7.0-alpha.5", path = "../identity_core" } identity_did = { version = "=0.7.0-alpha.5", path = "../identity_did" } identity_verification = { version = "=0.7.0-alpha.5", path = "../identity_verification", default-features = false }