This is an automated email from the ASF dual-hosted git repository.
wjones127 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs-object-store.git
The following commit(s) were added to refs/heads/main by this push:
new 1b59ef6 chore: fix `integration` feature (#314)
1b59ef6 is described below
commit 1b59ef60e7a9409660e434bc1eb94afc4648f1ea
Author: Marco Neumann <[email protected]>
AuthorDate: Mon Mar 31 18:12:42 2025 +0200
chore: fix `integration` feature (#314)
It requires the `rand` dependency.
---
.github/workflows/object_store.yml | 2 ++
Cargo.toml | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/object_store.yml
b/.github/workflows/object_store.yml
index 30049be..3b1b676 100644
--- a/.github/workflows/object_store.yml
+++ b/.github/workflows/object_store.yml
@@ -61,6 +61,8 @@ jobs:
run: cargo clippy --features azure -- -D warnings
- name: Run clippy with http feature
run: cargo clippy --features http -- -D warnings
+ - name: Run clippy with integration feature
+ run: cargo clippy --no-default-features --features integration -- -D
warnings
- name: Run clippy with all features
run: cargo clippy --all-features -- -D warnings
- name: Run clippy with all features and all targets
diff --git a/Cargo.toml b/Cargo.toml
index f113b1f..e3aa72f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -73,7 +73,7 @@ gcp = ["cloud", "rustls-pemfile"]
aws = ["cloud", "md-5"]
http = ["cloud"]
tls-webpki-roots = ["reqwest?/rustls-tls-webpki-roots"]
-integration = []
+integration = ["rand"]
[dev-dependencies] # In alphabetical order
hyper = { version = "1.2", features = ["server"] }