Skip to content

Commit

Permalink
Specify vendored openssl only for Linux (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
iesahin authored Dec 4, 2023
1 parent cbaec6a commit b522e7a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,17 @@ tempfile = "^3.8"

## Networking & Async

## Although we don't use openssl directly, we use its vendored version for cross compilation
openssl = { version = "^0.10", features = ["vendored"] }

tokio = { version = "^1.32", optional = true, features = ["rt-multi-thread"] }
rust-s3 = { version = "^0.33", optional = true }
futures = { version = "^0.3", optional = true }

# Although we don't use openssl directly, we use its vendored version for cross compilation
# Cannot compile on Windows with vendored
[target.'cfg(target_os = "linux")'.dependencies]
openssl = { version = "^0.10", features = ["vendored"] }



[features]
default = ["s3", "minio", "gcs", "wasabi", "r2", "digital-ocean"]
Expand Down

0 comments on commit b522e7a

Please sign in to comment.