From e609428f956469438a5f371e75221cfb89d11f8d Mon Sep 17 00:00:00 2001 From: Jacob Date: Wed, 15 Apr 2026 17:28:47 -0400 Subject: [PATCH] chore: use a patched version of opendal with rocksdb static --- Cargo.lock | 566 ++++++++++++++++++++++++++++++++++++----------------- Cargo.toml | 2 +- 2 files changed, 384 insertions(+), 184 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76b3612..a04ae49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -340,6 +340,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a88aab2464f1f25453baa7a07c84c5b7684e274054ba06817f382357f77a288" dependencies = [ "aws-lc-sys", + "untrusted 0.7.1", "zeroize", ] @@ -435,21 +436,18 @@ checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" [[package]] name = "bindgen" -version = "0.65.1" +version = "0.72.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" +checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.10.0", "cexpr", "clang-sys", - "lazy_static", - "lazycell", - "peeking_take_while", - "prettyplease", + "itertools 0.13.0", "proc-macro2", "quote", "regex", - "rustc-hash 1.1.0", + "rustc-hash", "shlex", "syn 2.0.111", ] @@ -693,6 +691,12 @@ dependencies = [ "shlex", ] +[[package]] +name = "cesu8" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" + [[package]] name = "cexpr" version = "0.6.0" @@ -770,7 +774,6 @@ checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", - "libloading 0.8.9", ] [[package]] @@ -2206,7 +2209,7 @@ dependencies = [ "hex", "hmac", "libc", - "libloading 0.9.0", + "libloading", "log", "md-5", "num-traits", @@ -2759,6 +2762,15 @@ version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.14.0" @@ -2817,6 +2829,50 @@ dependencies = [ "jiff-tzdb", ] +[[package]] +name = "jni" +version = "0.21.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a87aa2bb7d2af34197c04845522473242e1aa17c12f4935d5856491a7fb8c97" +dependencies = [ + "cesu8", + "cfg-if", + "combine", + "jni-sys 0.3.1", + "log", + "thiserror 1.0.69", + "walkdir", + "windows-sys 0.45.0", +] + +[[package]] +name = "jni-sys" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41a652e1f9b6e0275df1f15b32661cf0d4b78d4d87ddec5e0c3c20f097433258" +dependencies = [ + "jni-sys 0.4.1", +] + +[[package]] +name = "jni-sys" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2" +dependencies = [ + "jni-sys-macros", +] + +[[package]] +name = "jni-sys-macros" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264" +dependencies = [ + "quote", + "syn 2.0.111", +] + [[package]] name = "jobserver" version = "0.1.34" @@ -2829,26 +2885,30 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.83" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" +checksum = "2964e92d1d9dc3364cae4d718d93f227e3abb088e747d92e0395bfdedf1c12ca" dependencies = [ + "cfg-if", + "futures-util", "once_cell", "wasm-bindgen", ] [[package]] name = "jsonwebtoken" -version = "9.3.1" +version = "10.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" +checksum = "0529410abe238729a60b108898784df8984c87f6054c9c4fcacc47e4803c1ce1" dependencies = [ + "aws-lc-rs", "base64 0.22.1", + "getrandom 0.2.16", "js-sys", "pem", - "ring", "serde", "serde_json", + "signature", "simple_asn1", ] @@ -2903,12 +2963,6 @@ dependencies = [ "spin", ] -[[package]] -name = "lazycell" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" - [[package]] name = "leb128fmt" version = "0.1.0" @@ -3137,16 +3191,6 @@ dependencies = [ "rand 0.9.2", ] -[[package]] -name = "libloading" -version = "0.8.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7c4b02199fee7c5d21a5ae7d8cfa79a6ef5bb2fc834d6e9058e89c825efdc55" -dependencies = [ - "cfg-if", - "windows-link", -] - [[package]] name = "libloading" version = "0.9.0" @@ -3187,14 +3231,13 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.11.0+8.1.1" +version = "0.17.3+10.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" +checksum = "cef2a00ee60fe526157c9023edab23943fae1ce2ab6f4abb2a807c1746835de9" dependencies = [ "bindgen", "bzip2-sys", "cc", - "glob", "libc", "libz-sys", ] @@ -3726,7 +3769,7 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "opendal" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "ctor", "opendal-core", @@ -3773,7 +3816,7 @@ dependencies = [ [[package]] name = "opendal-core" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "anyhow", "base64 0.22.1", @@ -3787,8 +3830,9 @@ dependencies = [ "mea", "moka", "percent-encoding", - "quick-xml", - "reqwest", + "quick-xml 0.38.4", + "reqsign-core", + "reqwest 0.13.2", "serde", "serde_json", "tokio", @@ -3800,7 +3844,7 @@ dependencies = [ [[package]] name = "opendal-layer-concurrent-limit" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "futures", "http", @@ -3811,7 +3855,7 @@ dependencies = [ [[package]] name = "opendal-layer-logging" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "log", "opendal-core", @@ -3820,7 +3864,7 @@ dependencies = [ [[package]] name = "opendal-layer-retry" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "backon", "log", @@ -3830,7 +3874,7 @@ dependencies = [ [[package]] name = "opendal-layer-timeout" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "opendal-core", "tokio", @@ -3839,7 +3883,7 @@ dependencies = [ [[package]] name = "opendal-service-aliyun-drive" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -3853,7 +3897,7 @@ dependencies = [ [[package]] name = "opendal-service-alluxio" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -3866,7 +3910,7 @@ dependencies = [ [[package]] name = "opendal-service-azblob" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "base64 0.22.1", "bytes", @@ -3874,8 +3918,10 @@ dependencies = [ "log", "opendal-core", "opendal-service-azure-common", - "quick-xml", - "reqsign", + "quick-xml 0.38.4", + "reqsign-azure-storage", + "reqsign-core", + "reqsign-file-read-tokio", "serde", "sha2", "uuid", @@ -3884,15 +3930,17 @@ dependencies = [ [[package]] name = "opendal-service-azdls" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", "log", "opendal-core", "opendal-service-azure-common", - "quick-xml", - "reqsign", + "quick-xml 0.38.4", + "reqsign-azure-storage", + "reqsign-core", + "reqsign-file-read-tokio", "serde", "serde_json", ] @@ -3900,32 +3948,33 @@ dependencies = [ [[package]] name = "opendal-service-azfile" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", "log", "opendal-core", "opendal-service-azure-common", - "quick-xml", - "reqsign", + "quick-xml 0.38.4", + "reqsign-azure-storage", + "reqsign-core", + "reqsign-file-read-tokio", "serde", ] [[package]] name = "opendal-service-azure-common" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "http", "opendal-core", - "reqsign", ] [[package]] name = "opendal-service-b2" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -3939,7 +3988,7 @@ dependencies = [ [[package]] name = "opendal-service-cacache" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "cacache", @@ -3950,7 +3999,7 @@ dependencies = [ [[package]] name = "opendal-service-d1" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -3962,7 +4011,7 @@ dependencies = [ [[package]] name = "opendal-service-dashmap" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "dashmap 6.1.0", "log", @@ -3973,7 +4022,7 @@ dependencies = [ [[package]] name = "opendal-service-dbfs" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "base64 0.22.1", "bytes", @@ -3987,7 +4036,7 @@ dependencies = [ [[package]] name = "opendal-service-dropbox" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -4000,7 +4049,7 @@ dependencies = [ [[package]] name = "opendal-service-etcd" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "etcd-client", "fastpool", @@ -4012,7 +4061,7 @@ dependencies = [ [[package]] name = "opendal-service-fs" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "log", @@ -4025,7 +4074,7 @@ dependencies = [ [[package]] name = "opendal-service-ftp" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "fastpool", @@ -4043,17 +4092,18 @@ dependencies = [ [[package]] name = "opendal-service-gcs" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ - "backon", + "async-trait", "bytes", "http", "log", "opendal-core", "percent-encoding", - "quick-xml", - "reqsign", - "reqwest", + "quick-xml 0.38.4", + "reqsign-core", + "reqsign-file-read-tokio", + "reqsign-google", "serde", "serde_json", "tokio", @@ -4062,7 +4112,7 @@ dependencies = [ [[package]] name = "opendal-service-gdrive" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -4076,7 +4126,7 @@ dependencies = [ [[package]] name = "opendal-service-ghac" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "ghac", @@ -4085,7 +4135,8 @@ dependencies = [ "opendal-core", "opendal-service-azblob", "prost 0.13.5", - "reqsign", + "reqsign-azure-storage", + "reqsign-core", "serde", "serde_json", "sha2", @@ -4094,7 +4145,7 @@ dependencies = [ [[package]] name = "opendal-service-github" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "base64 0.22.1", "bytes", @@ -4108,7 +4159,7 @@ dependencies = [ [[package]] name = "opendal-service-gridfs" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "futures", "mea", @@ -4120,7 +4171,7 @@ dependencies = [ [[package]] name = "opendal-service-hdfs-native" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "futures", @@ -4133,7 +4184,7 @@ dependencies = [ [[package]] name = "opendal-service-ipmfs" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -4146,7 +4197,7 @@ dependencies = [ [[package]] name = "opendal-service-mini-moka" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "log", "mini-moka", @@ -4157,7 +4208,7 @@ dependencies = [ [[package]] name = "opendal-service-moka" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "log", "moka", @@ -4168,7 +4219,7 @@ dependencies = [ [[package]] name = "opendal-service-mongodb" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "mea", "mongodb", @@ -4179,7 +4230,7 @@ dependencies = [ [[package]] name = "opendal-service-mysql" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "mea", "opendal-core", @@ -4190,7 +4241,7 @@ dependencies = [ [[package]] name = "opendal-service-pcloud" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "http", @@ -4203,7 +4254,7 @@ dependencies = [ [[package]] name = "opendal-service-persy" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "opendal-core", "persy", @@ -4213,7 +4264,7 @@ dependencies = [ [[package]] name = "opendal-service-postgresql" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "mea", "opendal-core", @@ -4224,7 +4275,7 @@ dependencies = [ [[package]] name = "opendal-service-redb" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "opendal-core", "redb", @@ -4234,7 +4285,7 @@ dependencies = [ [[package]] name = "opendal-service-redis" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "bytes", "fastpool", @@ -4248,7 +4299,7 @@ dependencies = [ [[package]] name = "opendal-service-rocksdb" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "opendal-core", "rocksdb", @@ -4258,7 +4309,7 @@ dependencies = [ [[package]] name = "opendal-service-s3" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "base64 0.22.1", "bytes", @@ -4267,19 +4318,18 @@ dependencies = [ "log", "md-5", "opendal-core", - "quick-xml", + "quick-xml 0.38.4", "reqsign-aws-v4", "reqsign-core", "reqsign-file-read-tokio", - "reqsign-http-send-reqwest", - "reqwest", "serde", + "url", ] [[package]] name = "opendal-service-sled" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "opendal-core", "serde", @@ -4289,7 +4339,7 @@ dependencies = [ [[package]] name = "opendal-service-webdav" version = "0.55.0" -source = "git+https://github.com/apache/opendal#3c2fedd4535a59652fb4d1ac5cce2f7911194585" +source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0-bindgen-static#979a75c46308dab4db5b172caf4483f6ea37cd72" dependencies = [ "anyhow", "bytes", @@ -4297,7 +4347,7 @@ dependencies = [ "log", "mea", "opendal-core", - "quick-xml", + "quick-xml 0.38.4", "serde", ] @@ -4522,12 +4572,6 @@ dependencies = [ "hmac", ] -[[package]] -name = "peeking_take_while" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" - [[package]] name = "pem" version = "3.0.6" @@ -4859,7 +4903,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7" dependencies = [ "heck 0.5.0", - "itertools", + "itertools 0.14.0", "log", "multimap", "petgraph", @@ -4880,7 +4924,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", "syn 2.0.111", @@ -4893,7 +4937,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" dependencies = [ "anyhow", - "itertools", + "itertools 0.14.0", "proc-macro2", "quote", "syn 2.0.111", @@ -4949,6 +4993,16 @@ dependencies = [ "serde", ] +[[package]] +name = "quick-xml" +version = "0.39.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958f21e8e7ceb5a1aa7fa87fab28e7c75976e0bfe7e23ff069e0a260f894067d" +dependencies = [ + "memchr", + "serde", +] + [[package]] name = "quinn" version = "0.11.9" @@ -4960,7 +5014,7 @@ dependencies = [ "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.1", + "rustc-hash", "rustls 0.23.35", "socket2 0.6.1", "thiserror 2.0.17", @@ -4975,12 +5029,13 @@ version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ + "aws-lc-rs", "bytes", "getrandom 0.3.4", "lru-slab", "rand 0.9.2", "ring", - "rustc-hash 2.1.1", + "rustc-hash", "rustls 0.23.35", "rustls-pki-types", "slab", @@ -5255,48 +5310,19 @@ version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" -[[package]] -name = "reqsign" -version = "0.16.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43451dbf3590a7590684c25fb8d12ecdcc90ed3ac123433e500447c7d77ed701" -dependencies = [ - "anyhow", - "async-trait", - "base64 0.22.1", - "chrono", - "form_urlencoded", - "getrandom 0.2.16", - "hex", - "hmac", - "home", - "http", - "jsonwebtoken", - "log", - "percent-encoding", - "rand 0.8.5", - "reqwest", - "rsa", - "serde", - "serde_json", - "sha1", - "sha2", -] - [[package]] name = "reqsign-aws-v4" -version = "2.0.2" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab367a07c335a3eaa22395a9d9b0031ac73aee5893573281b2fa27bf97dc94f2" +checksum = "44eaca382e94505a49f1a4849658d153aebf79d9c1a58e5dd3b10361511e9f43" dependencies = [ "anyhow", - "async-trait", "bytes", "form_urlencoded", "http", "log", "percent-encoding", - "quick-xml", + "quick-xml 0.39.2", "reqsign-core", "rust-ini", "serde", @@ -5306,16 +5332,38 @@ dependencies = [ ] [[package]] -name = "reqsign-core" -version = "2.0.2" +name = "reqsign-azure-storage" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba66eb941c0f723269a394baf3b19a2fa697a1e593f3e902779df6c35d24e21" +checksum = "7a321980405d596bd34aaf95c4722a3de4128a67fd19e74a81a83aa3fdf082e6" dependencies = [ "anyhow", - "async-trait", "base64 0.22.1", "bytes", "form_urlencoded", + "http", + "jsonwebtoken", + "log", + "pem", + "percent-encoding", + "reqsign-core", + "rsa", + "serde", + "serde_json", + "sha1", +] + +[[package]] +name = "reqsign-core" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10302cf0a7d7e7352ba211fc92c3c5bebf1286153e49cc5aa87348078a8e102" +dependencies = [ + "anyhow", + "base64 0.22.1", + "bytes", + "form_urlencoded", + "futures", "hex", "hmac", "http", @@ -5329,31 +5377,33 @@ dependencies = [ [[package]] name = "reqsign-file-read-tokio" -version = "2.0.2" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702f12a867bf8e507de907fa0f4d75b96469ace7edd33fcc1fc8a8ef58f3c8d2" +checksum = "e2d89295b3d17abea31851cc8de55d843d89c52132c864963c38d41920613dc5" dependencies = [ "anyhow", - "async-trait", "reqsign-core", "tokio", ] [[package]] -name = "reqsign-http-send-reqwest" -version = "2.0.1" +name = "reqsign-google" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46186bce769674f9200ad01af6f2ca42de3e819ddc002fff1edae135bfb6cd9c" +checksum = "35cc609b49c69e76ecaceb775a03f792d1ed3e7755ab3548d4534fd801e3242e" dependencies = [ - "anyhow", - "async-trait", - "bytes", - "futures-channel", + "form_urlencoded", "http", - "http-body-util", + "jsonwebtoken", + "log", + "percent-encoding", + "reqsign-aws-v4", "reqsign-core", - "reqwest", - "wasm-bindgen-futures", + "rsa", + "serde", + "serde_json", + "sha2", + "tokio", ] [[package]] @@ -5393,11 +5443,49 @@ dependencies = [ "url", "wasm-bindgen", "wasm-bindgen-futures", - "wasm-streams", + "wasm-streams 0.4.2", "web-sys", "webpki-roots 1.0.4", ] +[[package]] +name = "reqwest" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab3f43e3283ab1488b624b44b0e988d0acea0b3214e694730a055cb6b2efa801" +dependencies = [ + "base64 0.22.1", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-rustls", + "hyper-util", + "js-sys", + "log", + "percent-encoding", + "pin-project-lite", + "quinn", + "rustls 0.23.35", + "rustls-pki-types", + "rustls-platform-verifier", + "sync_wrapper", + "tokio", + "tokio-rustls 0.26.4", + "tokio-util", + "tower", + "tower-http", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "wasm-streams 0.5.0", + "web-sys", +] + [[package]] name = "resolv-conf" version = "0.7.6" @@ -5452,7 +5540,7 @@ dependencies = [ "cfg-if", "getrandom 0.2.16", "libc", - "untrusted", + "untrusted 0.9.0", "windows-sys 0.52.0", ] @@ -5469,9 +5557,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.21.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" +checksum = "ddb7af00d2b17dbd07d82c0063e25411959748ff03e8d4f96134c2ff41fce34f" dependencies = [ "libc", "librocksdb-sys", @@ -5529,12 +5617,6 @@ dependencies = [ "ordered-multimap", ] -[[package]] -name = "rustc-hash" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" - [[package]] name = "rustc-hash" version = "2.1.1" @@ -5639,6 +5721,33 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rustls-platform-verifier" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d99feebc72bae7ab76ba994bb5e121b8d83d910ca40b36e0921f53becc41784" +dependencies = [ + "core-foundation", + "core-foundation-sys", + "jni", + "log", + "once_cell", + "rustls 0.23.35", + "rustls-native-certs", + "rustls-platform-verifier-android", + "rustls-webpki 0.103.8", + "security-framework", + "security-framework-sys", + "webpki-root-certs", + "windows-sys 0.61.2", +] + +[[package]] +name = "rustls-platform-verifier-android" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f" + [[package]] name = "rustls-webpki" version = "0.102.8" @@ -5647,7 +5756,7 @@ checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring", "rustls-pki-types", - "untrusted", + "untrusted 0.9.0", ] [[package]] @@ -5659,7 +5768,7 @@ dependencies = [ "aws-lc-rs", "ring", "rustls-pki-types", - "untrusted", + "untrusted 0.9.0", ] [[package]] @@ -5949,7 +6058,7 @@ dependencies = [ "futures", "mime_guess", "percent-encoding", - "reqwest", + "reqwest 0.12.28", "secrecy 0.8.0", "serde", "serde_cow", @@ -6212,7 +6321,7 @@ dependencies = [ "parking_lot 0.12.5", "pin-project", "rand 0.9.2", - "reqwest", + "reqwest 0.12.28", "ringbuf", "rubato", "rusty_pool", @@ -6497,7 +6606,7 @@ dependencies = [ "futures-util", "hls_m3u8", "patricia_tree 0.8.0", - "reqwest", + "reqwest 0.12.28", "tokio", "tracing", "url", @@ -7484,6 +7593,12 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" +[[package]] +name = "untrusted" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" + [[package]] name = "untrusted" version = "0.9.0" @@ -7607,9 +7722,9 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.106" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" +checksum = "0bf938a0bacb0469e83c1e148908bd7d5a6010354cf4fb73279b7447422e3a89" dependencies = [ "cfg-if", "once_cell", @@ -7620,22 +7735,19 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.56" +version = "0.4.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" +checksum = "f371d383f2fb139252e0bfac3b81b265689bf45b6874af544ffa4c975ac1ebf8" dependencies = [ - "cfg-if", "js-sys", - "once_cell", "wasm-bindgen", - "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.106" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" +checksum = "eeff24f84126c0ec2db7a449f0c2ec963c6a49efe0698c4242929da037ca28ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -7643,9 +7755,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.106" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" +checksum = "9d08065faf983b2b80a79fd87d8254c409281cf7de75fc4b773019824196c904" dependencies = [ "bumpalo", "proc-macro2", @@ -7656,9 +7768,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.106" +version = "0.2.118" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" +checksum = "5fd04d9e306f1907bd13c6361b5c6bfc7b3b3c095ed3f8a9246390f8dbdee129" dependencies = [ "unicode-ident", ] @@ -7698,6 +7810,19 @@ dependencies = [ "web-sys", ] +[[package]] +name = "wasm-streams" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb" +dependencies = [ + "futures-util", + "js-sys", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", +] + [[package]] name = "wasmparser" version = "0.244.0" @@ -7712,9 +7837,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.83" +version = "0.3.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" +checksum = "4f2dfbb17949fa2088e5d39408c48368947b86f7834484e87b73de55bc14d97d" dependencies = [ "js-sys", "wasm-bindgen", @@ -7730,6 +7855,15 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "webpki-root-certs" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "804f18a4ac2676ffb4e8b5b5fa9ae38af06df08162314f96a68d2a363e21a8ca" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "webpki-roots" version = "0.26.11" @@ -7906,6 +8040,15 @@ dependencies = [ "windows-link", ] +[[package]] +name = "windows-sys" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" +dependencies = [ + "windows-targets 0.42.2", +] + [[package]] name = "windows-sys" version = "0.48.0" @@ -7942,6 +8085,21 @@ dependencies = [ "windows-link", ] +[[package]] +name = "windows-targets" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" +dependencies = [ + "windows_aarch64_gnullvm 0.42.2", + "windows_aarch64_msvc 0.42.2", + "windows_i686_gnu 0.42.2", + "windows_i686_msvc 0.42.2", + "windows_x86_64_gnu 0.42.2", + "windows_x86_64_gnullvm 0.42.2", + "windows_x86_64_msvc 0.42.2", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -7999,6 +8157,12 @@ dependencies = [ "windows-link", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" + [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" @@ -8017,6 +8181,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" @@ -8035,6 +8205,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" +[[package]] +name = "windows_i686_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" + [[package]] name = "windows_i686_gnu" version = "0.48.5" @@ -8065,6 +8241,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" +[[package]] +name = "windows_i686_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" + [[package]] name = "windows_i686_msvc" version = "0.48.5" @@ -8083,6 +8265,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" @@ -8101,6 +8289,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" @@ -8119,6 +8313,12 @@ version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" diff --git a/Cargo.toml b/Cargo.toml index 3e0dcec..969d7b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ clap = { version = "4.5.40", features = ["derive", "env"] } dashmap = "6.1.0" futures = "0.3.32" hound = "3.5.1" -opendal = { git = "https://github.com/apache/opendal", features = [ +opendal = { git = "https://github.com/babichjacob/opendal", branch = "rocksdb-0.24.0-bindgen-static", features = [ "services-azfile", "services-aliyun-drive", "services-alluxio",