Skip to content

Commit 6c6d47a

Browse files
committed
Make 1.0.78 the minimal serde version
It fixes a panic on previous versions in some cases when multiple fields in a struct are marked with #[flatten]. We do that in interfaces.
1 parent 52aa20c commit 6c6d47a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ categories = ["network-programming", "web-programming", "wasm"]
1212
failure = "0.1"
1313
graphql_query_derive = {path = "./graphql_query_derive", version = "0.4.0"}
1414
itertools = "0.7"
15-
serde = "1.0"
15+
serde = "^1.0.78"
1616
serde_derive = "1.0"
1717
serde_json = "1.0"
1818

graphql_client_codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ lazy_static = "1.0"
1313
quote = "0.6"
1414
syn = "0.15"
1515
proc-macro2 = { version = "0.4", features = [] }
16-
serde = "1.0"
16+
serde = "^1.0.78"
1717
serde_derive = "1.0"
1818
serde_json = "1.0"
1919
heck = "0.3"

0 commit comments

Comments
 (0)