Merge branch 'master' into rework-core-traits

This commit is contained in:
tyranron 2022-04-22 11:03:03 +03:00
commit d00549968c
No known key found for this signature in database
GPG key ID: 762E144FB230A4F0
3 changed files with 6 additions and 5 deletions

View file

@ -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"

View file

@ -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).
@ -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

View file

@ -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"