Skip to content

Commit d3b1721

Browse files
bjgilljmini
authored andcommitted
[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 845df89
1 parent 9e2fcda commit d3b1721

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/openapi-generator/src/main/resources/rust-server/Cargo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ uuid = {version = "0.5", optional = true, features = ["serde", "v4"]}
4747

4848
[dev-dependencies]
4949
clap = "2.25"
50-
error-chain = "0.11"
50+
error-chain = "0.12"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@
959959
<module>samples/client/petstore/typescript-angular-v4.3/npm</module>
960960
<!--<module>samples/client/petstore/bash</module>-->
961961
<module>samples/client/petstore/ruby</module>
962-
<!--<module>samples/server/petstore/rust-server</module>-->
962+
<module>samples/server/petstore/rust-server</module>
963963
</modules>
964964
</profile>
965965
<profile>

samples/server/petstore/rust-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ serde-xml-rs = {git = "git://github.com/Metaswitch/serde-xml-rs.git" , branch =
4545

4646
[dev-dependencies]
4747
clap = "2.25"
48-
error-chain = "0.11"
48+
error-chain = "0.12"

0 commit comments

Comments
 (0)