diff --git a/core/Cargo.toml b/core/Cargo.toml index 8a9bd8a4bbf..059c48c24ef 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"] }