From ec39a2ffbf6f99b3ba86bc9190e412e2c71a6291 Mon Sep 17 00:00:00 2001 From: Daisuke Murase Date: Fri, 12 Feb 2021 03:05:20 -0800 Subject: [PATCH] [rust client] upgrade reqwest crate to 0.11 (#8603) * set reqwest version to 0.11 * update sample --- .../openapi-generator/src/main/resources/rust/Cargo.mustache | 4 ++-- .../client/petstore/rust/reqwest/petstore-async/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/rust/Cargo.mustache b/modules/openapi-generator/src/main/resources/rust/Cargo.mustache index 264ae44d594..41299d8cebf 100644 --- a/modules/openapi-generator/src/main/resources/rust/Cargo.mustache +++ b/modules/openapi-generator/src/main/resources/rust/Cargo.mustache @@ -21,9 +21,9 @@ reqwest = "~0.9" {{/supportAsync}} {{#supportAsync}} [dependencies.reqwest] -version = "^0.10" +version = "^0.11" default-features = false -features = ["json"] +features = ["json", "multipart"] {{/supportAsync}} {{/reqwest}} diff --git a/samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml b/samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml index 18eb264f99c..d8ff9713f72 100644 --- a/samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml +++ b/samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml @@ -10,8 +10,8 @@ serde_derive = "^1.0" serde_json = "^1.0" url = "1.5" [dependencies.reqwest] -version = "^0.10" +version = "^0.11" default-features = false -features = ["json"] +features = ["json", "multipart"] [dev-dependencies]