Repository: elastic-rs/elastic (language: rust)

Issue:
Fix build failure
I did a bad thing and used `*` imports in the `requests_codegen` crate (this is an internal tool that isn't published). The `0.11` version of `syn` we're actually targeting should be updated in the `Cargo.toml` to fix the current build failure.


Discussion / hints:

Fix patch:
diff --git a/src/requests_codegen/Cargo.toml b/src/requests_codegen/Cargo.toml
index 5112938eec..f983b09ead 100644
--- a/src/requests_codegen/Cargo.toml
+++ b/src/requests_codegen/Cargo.toml
@@ -5,12 +5,12 @@ authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
 publish = false
 
 [dependencies]
-serde = "*"
-serde_json = "*"
-serde_derive = "*"
-syn = { version = "*", features = ["full"] }
-quote = "*"
-Inflector = "*"
+serde = "~1"
+serde_json = "~1"
+serde_derive = "~1"
+syn = { version = "~0.11", features = ["full"] }
+quote = "~0.3"
+Inflector = "~0.11"
 
 [dev-dependencies]
 json_str = "*"


Test patch: