From 0d6d6471a2db7c63ac585c368a14335c3433434f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Apr 2022 20:21:14 +0300 Subject: [PATCH] Upgrade `uuid` crate to 1.0 version (#1057) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren --- book/tests/Cargo.toml | 2 +- juniper/CHANGELOG.md | 2 ++ juniper/Cargo.toml | 7 +++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/book/tests/Cargo.toml b/book/tests/Cargo.toml index 032b6c680..f73d6fb9c 100644 --- a/book/tests/Cargo.toml +++ b/book/tests/Cargo.toml @@ -16,7 +16,7 @@ mount = "0.4" serde_json = "1.0" skeptic = "0.13" tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "sync"] } -uuid = "0.8" +uuid = "1.0" [build-dependencies] skeptic = "0.13" diff --git a/juniper/CHANGELOG.md b/juniper/CHANGELOG.md index 7b9c281f0..92991baea 100644 --- a/juniper/CHANGELOG.md +++ b/juniper/CHANGELOG.md @@ -21,6 +21,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi - `#[graphql_object]` and `#[graphql_subscription]` expansions now preserve defined `impl` blocks "as is" and reuse defined methods in opaque way. ([#971]) - Renamed `rename = ""` attribute argument to `rename_all = ""` (following `serde` style). ([#971]) - Upgraded [`bson` crate] integration to [2.0 version](https://github.com/mongodb/bson-rust/releases/tag/v2.0.0). ([#979]) +- Upgraded [`uuid` crate] integration to [1.0 version](https://github.com/uuid-rs/uuid/releases/tag/1.0.0). ([#1057]) - Made `FromInputValue` trait methods fallible to allow post-validation. ([#987]) - Redesigned `#[graphql_interface]` macro: ([#1009]) - Removed support for `dyn` attribute argument (interface values as trait objects). @@ -93,6 +94,7 @@ All user visible changes to `juniper` crate will be documented in this file. Thi [#1026]: /../../pull/1026 [#1051]: /../../issues/1051 [#1054]: /../../pull/1054 +[#1057]: /../../pull/1057 [ba1ed85b]: /../../commit/ba1ed85b3c3dd77fbae7baf6bc4e693321a94083 diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml index 8fde83175..f5f22c904 100644 --- a/juniper/Cargo.toml +++ b/juniper/Cargo.toml @@ -52,13 +52,12 @@ smartstring = "1.0" static_assertions = "1.1" time = { version = "0.3", features = ["formatting", "macros", "parsing"], optional = true } url = { version = "2.0", optional = true } - -[target.'cfg(not(target_arch = "wasm32"))'.dependencies] -uuid = { version = "0.8", default-features = false, optional = true } +uuid = { version = "1.0", default-features = false, optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { version = "0.2", features = ["js"] } -uuid = { version = "0.8", default-features = false, features = ["wasm-bindgen"], optional = true } +# not used, to fix `bson` compilation only +uuid_08 = { version = "0.8", package = "uuid", default-features = false, features = ["wasm-bindgen"] } [dev-dependencies] bencher = "0.1.2"