From d3b1721da038b0a559f8232dfdae22f622d004a4 Mon Sep 17 00:00:00 2001 From: Benjamin Gill Date: Mon, 25 Jun 2018 17:17:47 +0100 Subject: [PATCH] [rust-server] Update to error-chain 0.12 (#395) * Update to error-chain 0.12: 0.11 doesn't work with Rust 1.27.0 (new warnings) * Revert commit 845df89e9511e8b972042a4376230d3d9f974659 --- .../src/main/resources/rust-server/Cargo.mustache | 2 +- pom.xml | 2 +- samples/server/petstore/rust-server/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/rust-server/Cargo.mustache b/modules/openapi-generator/src/main/resources/rust-server/Cargo.mustache index c52c1e889771..f3496ed3856c 100644 --- a/modules/openapi-generator/src/main/resources/rust-server/Cargo.mustache +++ b/modules/openapi-generator/src/main/resources/rust-server/Cargo.mustache @@ -47,4 +47,4 @@ uuid = {version = "0.5", optional = true, features = ["serde", "v4"]} [dev-dependencies] clap = "2.25" -error-chain = "0.11" +error-chain = "0.12" diff --git a/pom.xml b/pom.xml index b7040100d010..11acff4e3d13 100644 --- a/pom.xml +++ b/pom.xml @@ -959,7 +959,7 @@ samples/client/petstore/typescript-angular-v4.3/npm samples/client/petstore/ruby - + samples/server/petstore/rust-server diff --git a/samples/server/petstore/rust-server/Cargo.toml b/samples/server/petstore/rust-server/Cargo.toml index 536506c88c6d..ce79b9f32b6f 100644 --- a/samples/server/petstore/rust-server/Cargo.toml +++ b/samples/server/petstore/rust-server/Cargo.toml @@ -45,4 +45,4 @@ serde-xml-rs = {git = "git://github.com/Metaswitch/serde-xml-rs.git" , branch = [dev-dependencies] clap = "2.25" -error-chain = "0.11" +error-chain = "0.12"