Skip to content

Commit 7c18a8b

Browse files
authored
[Rust] update may_minihttp dependency (#8851)
* [Rust] update may_minihttp dependency * [Rust] [may-minihttp] update rust to 1.77
1 parent 74f9403 commit 7c18a8b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frameworks/Rust/may-minihttp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ yarte = { version = "0.15", features = ["bytes-buf", "json"] }
1818
buf-min = { version = "0.7", features = ["bytes"] }
1919

2020
may = { version = "0.3", default-features = false }
21-
may_minihttp = { git = "https://github.com/Xudong-Huang/may_minihttp.git", rev = "f8241e7", default-features = false }
21+
may_minihttp = { version = "0.1", default-features = false }
2222
may_postgres = { git = "https://github.com/Xudong-Huang/may_postgres.git", rev = "bf1d86e", default-features = false }
2323

2424
[profile.release]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.72
1+
FROM rust:1.77
22

33
RUN apt-get update -yqq && apt-get install -yqq cmake g++
44

frameworks/Rust/may-minihttp/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::sync::Arc;
77

88
use bytes::BytesMut;
99
use may_minihttp::{HttpService, HttpServiceFactory, Request, Response};
10-
use may_postgres::{self, types::ToSql, Client, Statement};
10+
use may_postgres::{types::ToSql, Client, Statement};
1111
use nanorand::{Rng, WyRand};
1212
use smallvec::SmallVec;
1313
use yarte::{ywrite_html, Serialize};

0 commit comments

Comments
 (0)