Skip to content

Commit 7fc0e87

Browse files
Implement bulk_delete_request for Azure (#5681)
* Implement bulk_delete_request for Azure * Fix lint and add Azurite bug workaround * Special 404 error case * Clippy fix * Make number of expected headers more conservative and better document invariants * Use multer for multipart parsing * Fix clippy * Fix clippy #2 * Reuse part response buffer * Make multer conditional to azure feature * One more HeaderValue::from_static * Add tests for bulk delete request building and response parsing * Switch back to manual parsing to avoid multer dependency, other PR suggestions * Fixes lint
1 parent 5d992a3 commit 7fc0e87

File tree

3 files changed

+509
-4
lines changed

3 files changed

+509
-4
lines changed

object_store/Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,14 @@ ring = { version = "0.17", default-features = false, features = ["std"], optiona
5555
rustls-pemfile = { version = "2.0", default-features = false, features = ["std"], optional = true }
5656
tokio = { version = "1.29.0", features = ["sync", "macros", "rt", "time", "io-util"] }
5757
md-5 = { version = "0.10.6", default-features = false, optional = true }
58+
httparse = { version = "1.8.0", default-features = false, features = ["std"], optional = true }
5859

5960
[target.'cfg(target_family="unix")'.dev-dependencies]
6061
nix = { version = "0.29.0", features = ["fs"] }
6162

6263
[features]
6364
cloud = ["serde", "serde_json", "quick-xml", "hyper", "reqwest", "reqwest/json", "reqwest/stream", "chrono/serde", "base64", "rand", "ring"]
64-
azure = ["cloud"]
65+
azure = ["cloud", "httparse"]
6566
gcp = ["cloud", "rustls-pemfile"]
6667
aws = ["cloud", "md-5"]
6768
http = ["cloud"]
@@ -75,6 +76,8 @@ hyper-util = "0.1"
7576
http-body-util = "0.1"
7677
rand = "0.8"
7778
tempfile = "3.1.0"
79+
regex = "1.11.1"
80+
http = "1.1.0"
7881

7982
[[test]]
8083
name = "get_range_file"

0 commit comments

Comments
 (0)