Преглед на файлове

Fixmayhttp (#4437)

* upgraded rust version and imported serde as the github said to
jenriquez-techempower преди 6 години
родител
ревизия
fbef127d37
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 2 2
      frameworks/Rust/may-minihttp/Cargo.toml
  2. 1 1
      frameworks/Rust/may-minihttp/may-minihttp.dockerfile

+ 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