alamb commented on code in PR #916:
URL: 
https://github.com/apache/arrow-rs-object-store/pull/916#discussion_r4802980611


##########
src/aws/client.rs:
##########
@@ -45,17 +45,24 @@ use crate::{
 use async_trait::async_trait;
 use base64::Engine;
 use base64::prelude::BASE64_STANDARD;
-use bytes::{Buf, Bytes};
+use bytes::Buf;
+#[cfg(feature = "md-5")]
+use bytes::Bytes;
 use http::header::{
     CACHE_CONTROL, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, 
CONTENT_LENGTH,
     CONTENT_TYPE,
 };
 use http::{HeaderMap, HeaderName, Method};
+#[cfg(feature = "md-5")]

Review Comment:
   as above, this is really messy to put all these md5 checks all over the 
place -- can we try and isolate them somewhere? 



##########
.github/workflows/ci.yml:
##########
@@ -63,6 +63,18 @@ jobs:
             exit 1
           fi
           echo "✅ *-base features do not enable reqwest"
+      - name: Verify S3 feature dependencies on MD5

Review Comment:
   Can we please add a comment here about why we are checking MD5? Specifically 
so that it is possible to get FIPS certification here (aka can't use MD5 due to 
FIPS)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to