You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2024/05/26 11:30:03 UTC
(opendal) branch main updated: chore(deps): make crc32c optional under services-s3 (#4643)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 826f847f8d chore(deps): make crc32c optional under services-s3 (#4643)
826f847f8d is described below
commit 826f847f8d7e2ec70f2953ea37500a115f285199
Author: xxchan <xx...@gmail.com>
AuthorDate: Sun May 26 19:29:58 2024 +0800
chore(deps): make crc32c optional under services-s3 (#4643)
Signed-off-by: xxchan <xx...@gmail.com>
---
core/Cargo.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 8a9bd8a4bb..059c48c24e 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -173,6 +173,7 @@ services-s3 = [
"dep:reqsign",
"reqsign?/services-aws",
"reqsign?/reqwest_request",
+ "dep:crc32c",
]
services-seafile = []
services-sftp = ["dep:openssh", "dep:openssh-sftp-client", "dep:bb8"]
@@ -331,6 +332,8 @@ hdfs-native = { version = "0.6.0", optional = true }
surrealdb = { version = "1.3.0", optional = true, features = ["protocol-http"] }
# for services-compfs
compio = { version = "0.10.0", optional = true, features = ["runtime", "bytes", "polling"] }
+# for services-s3
+crc32c = { version = "0.6.5", optional = true }
# Layers
# for layers-async-backtrace
@@ -355,7 +358,6 @@ prometheus-client = { version = "0.22.2", optional = true }
tracing = { version = "0.1", optional = true }
# for layers-dtrace
probe = { version = "0.5.1", optional = true }
-crc32c = "0.6.5"
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"] }