Skip to content

Commit

Permalink
Upgrade uuid crate to 1.0 version (#1057)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kai Ren <tyranron@gmail.com>
  • Loading branch information
dependabot[bot] and tyranron committed Apr 20, 2022
1 parent 30d80df commit 0d6d647
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion book/tests/Cargo.toml
Expand Up @@ -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"
2 changes: 2 additions & 0 deletions juniper/CHANGELOG.md
Expand Up @@ -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 = "<policy>"` attribute argument to `rename_all = "<policy>"` (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).
Expand Down Expand Up @@ -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


Expand Down
7 changes: 3 additions & 4 deletions juniper/Cargo.toml
Expand Up @@ -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"
Expand Down

0 comments on commit 0d6d647

Please sign in to comment.