Skip to content

Commit

Permalink
Merge pull request #1728 from kate-goldenring/use-default-flate2
Browse files Browse the repository at this point in the history
Use default `flate2` backend
  • Loading branch information
kate-goldenring authored Aug 31, 2023
2 parents 2617020 + 1a4599a commit 7f84a95
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 30 deletions.
78 changes: 54 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions crates/outbound-mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ doctest = false

[dependencies]
anyhow = "1.0"
mysql_async = { version = "0.30.0", default-features = false }
flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
mysql_common = { version = "0.29.1", default-features = false }
flate2 = "1.0.17"
# Removing default features for mysql_async to remove flate2/zlib feature
mysql_async = { version = "0.32.2", default-features = false, features = ["native-tls-tls"] }
# Removing default features for mysql_common to remove flate2/zlib feature
mysql_common = { version = "0.30.6", default-features = false }
spin-core = { path = "../core" }
spin-world = { path = "../world" }
tokio = { version = "1", features = [ "rt-multi-thread" ] }
Expand Down
2 changes: 1 addition & 1 deletion crates/plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bytes = "1.1"
chrono = { version = "0.4", features = ["serde"] }
dirs = "4.0"
fd-lock = "3.0.12"
flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
flate2 = "1.0.17"
is-terminal = "0.4"
path-absolutize = "3.0.11"
reqwest = { version = "0.11", features = ["json"] }
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests-aarch64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG BUILD_SPIN=false
ARG SPIN_VERSION=canary

WORKDIR /root
RUN apt-get update && apt-get install -y wget sudo xz-utils gcc git pkg-config redis clang libicu-dev docker.io cmake
RUN apt-get update && apt-get install -y wget sudo xz-utils gcc git pkg-config redis clang libicu-dev docker.io

# nodejs
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG FETCH_SPIN=true
ARG SPIN_VERSION=canary

WORKDIR /root
RUN apt-get update && apt-get install -y wget sudo xz-utils gcc git pkg-config redis clang libicu-dev docker.io cmake
RUN apt-get update && apt-get install -y wget sudo xz-utils gcc git pkg-config redis clang libicu-dev docker.io

# nodejs
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
Expand Down

0 comments on commit 7f84a95

Please sign in to comment.