Skip to content

Commit

Permalink
Fix DNS problem - mysql_async_wasi version rollback (exact version)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalonsolopez committed Mar 6, 2024
1 parent 03b0667 commit b267bdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 3 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ anyhow = "1.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
url = "2.3"
mysql_async_wasi = "0.31"
hyper_wasi = { path = "./local_deps/hyper", features = ["full"] }
tokio_wasi = { path = "./local_deps/tokio/tokio", features = ["full"] }

[patch.crates-io]
tokio-util_wasi = { path = "./local_deps/tokio/tokio-util" }
h2_wasi = { path = "./local_deps/h2" }
hyper_wasi = { path = "./local_deps/hyper" }
tokio_wasi = { path = "./local_deps/tokio/tokio" }
mysql_async_wasi = "=0.31.5"
hyper_wasi = { version = "0.15", features = ["full"] }
tokio_wasi = { version = "1", features = ["io-util", "fs", "net", "time", "rt", "macros"] }
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ EOT

FROM buildbase AS build
COPY Cargo.toml orders.json update_order.json ./
COPY local_deps ./local_deps
COPY src ./src
# Build the Wasm binary
RUN cargo build --target wasm32-wasi --release
Expand Down

0 comments on commit b267bdb

Please sign in to comment.