Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOT bash
set -ex
rustup target add wasm32-wasi
Expand All @@ -10,6 +15,7 @@ EOT
FROM buildbase AS build
COPY Cargo.toml orders.json update_order.json ./
COPY src ./src
COPY .cargo ./.cargo
# Build the Wasm binary
RUN cargo build --target wasm32-wasi --release
# This line builds the AOT Wasm binary
Expand Down