Browse Source

Fixmayhttp (#4437)

* upgraded rust version and imported serde as the github said to
jenriquez-techempower 6 years ago
parent
commit
fbef127d37

+ 2 - 2
frameworks/Rust/may-minihttp/Cargo.toml

@@ -5,8 +5,8 @@ authors = ["Xudong Huang <[email protected]>"]
 
 [dependencies]
 num_cpus = "1.0"
-serde = "1.0"
+serde = { version = "1.0", features = ["derive"] }
 serde_derive = "1.0"
 serde_json = "1.0"
 may = { git = "https://github.com/Xudong-Huang/may" }
-may_minihttp = { git = "https://github.com/Xudong-Huang/may_minihttp" }
+may_minihttp = { git = "https://github.com/Xudong-Huang/may_minihttp.git" }

+ 1 - 1
frameworks/Rust/may-minihttp/may-minihttp.dockerfile

@@ -1,4 +1,4 @@
-FROM rust:1.29.1
+FROM rust:1.32.0
 
 ADD ./ /may
 WORKDIR /may