From de95e2a1448d125dbf8f5a286ab5bd9327fdb45c Mon Sep 17 00:00:00 2001 From: Pi Delport Date: Wed, 22 Sep 2021 06:08:56 +0200 Subject: [PATCH] fix(rust,client): re-enable TLS support for reqwest with supportAsync (#10439) * fix(rust,client): keep default reqwest features with supportAsync This avoids disabling TLS support entirely. * chore(rust,client): capture sample changes This avoids disabling TLS support entirely. --- modules/openapi-generator/src/main/resources/rust/Cargo.mustache | 1 - samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/rust/Cargo.mustache b/modules/openapi-generator/src/main/resources/rust/Cargo.mustache index 43c8d17fadc..53c02a6f286 100644 --- a/modules/openapi-generator/src/main/resources/rust/Cargo.mustache +++ b/modules/openapi-generator/src/main/resources/rust/Cargo.mustache @@ -22,7 +22,6 @@ reqwest = "~0.9" {{#supportAsync}} [dependencies.reqwest] version = "^0.11" -default-features = false 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 a0c16dfdb53..5631ecde03b 100644 --- a/samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml +++ b/samples/client/petstore/rust/reqwest/petstore-async/Cargo.toml @@ -11,7 +11,6 @@ serde_json = "^1.0" url = "^2.2" [dependencies.reqwest] version = "^0.11" -default-features = false features = ["json", "multipart"] [dev-dependencies]