From c6c0cedc67db9ca8cfd0f60421e729a3700e8f8a Mon Sep 17 00:00:00 2001 From: zzz <458761603@qq.com> Date: Thu, 22 Aug 2024 19:51:06 +0800 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 20e4863..4a683f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,11 @@ FROM --platform=$BUILDPLATFORM rust:1.71 AS buildbase WORKDIR /src + +RUN apt-get update && apt-get install -y --no-install-recommends \ + clang \ + && rm -rf /var/lib/apt/lists/* + RUN < Date: Thu, 22 Aug 2024 19:52:22 +0800 Subject: [PATCH 2/2] fix mysql_async version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 049edb5..0fcd410 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } url = "2.3" -mysql_async = { version = "0.34", default-features=false, features = [ "default-rustls" ], git="https://github.com/blackbeam/mysql_async.git" } +mysql_async = { version = "0.34", default-features=false, features = [ "default-rustls" ], git="https://github.com/blackbeam/mysql_async.git", rev="08b7b70" } zstd-sys = "=2.0.9" hyper = { version = "0.14", features = ["full"] } tokio = { version = "1", features = ["io-util", "fs", "net", "time", "rt", "macros"] }