chore: eliminate rocksdb which makes everything better

This commit is contained in:
2026-04-16 19:29:21 -04:00
parent 50230c43b8
commit 2bf42e47c5
3 changed files with 51 additions and 185 deletions

203
Cargo.lock generated
View File

@@ -434,24 +434,6 @@ version = "1.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06"
[[package]]
name = "bindgen"
version = "0.72.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
dependencies = [
"bitflags 2.10.0",
"cexpr",
"clang-sys",
"itertools 0.13.0",
"proc-macro2",
"quote",
"regex",
"rustc-hash",
"shlex",
"syn 2.0.111",
]
[[package]] [[package]]
name = "bitflags" name = "bitflags"
version = "1.3.2" version = "1.3.2"
@@ -584,16 +566,6 @@ version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3"
[[package]]
name = "bzip2-sys"
version = "0.1.13+1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14"
dependencies = [
"cc",
"pkg-config",
]
[[package]] [[package]]
name = "cacache" name = "cacache"
version = "13.1.0" version = "13.1.0"
@@ -697,15 +669,6 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
[[package]]
name = "cexpr"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
dependencies = [
"nom",
]
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
version = "1.0.4" version = "1.0.4"
@@ -766,16 +729,6 @@ dependencies = [
"zeroize", "zeroize",
] ]
[[package]]
name = "clang-sys"
version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
dependencies = [
"glob",
"libc",
]
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.53" version = "4.5.53"
@@ -2762,15 +2715,6 @@ version = "1.70.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
[[package]]
name = "itertools"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
dependencies = [
"either",
]
[[package]] [[package]]
name = "itertools" name = "itertools"
version = "0.14.0" version = "0.14.0"
@@ -3229,19 +3173,6 @@ dependencies = [
"redox_syscall 0.7.1", "redox_syscall 0.7.1",
] ]
[[package]]
name = "librocksdb-sys"
version = "0.17.3+10.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cef2a00ee60fe526157c9023edab23943fae1ce2ab6f4abb2a807c1746835de9"
dependencies = [
"bindgen",
"bzip2-sys",
"cc",
"libc",
"libz-sys",
]
[[package]] [[package]]
name = "libsqlite3-sys" name = "libsqlite3-sys"
version = "0.30.1" version = "0.30.1"
@@ -3252,17 +3183,6 @@ dependencies = [
"vcpkg", "vcpkg",
] ]
[[package]]
name = "libz-sys"
version = "1.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc3a226e576f50782b3305c5ccf458698f92798987f551c6a02efe8276721e22"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]
[[package]] [[package]]
name = "linked-hash-map" name = "linked-hash-map"
version = "0.5.6" version = "0.5.6"
@@ -3471,12 +3391,6 @@ dependencies = [
"triomphe", "triomphe",
] ]
[[package]]
name = "minimal-lexical"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]] [[package]]
name = "miniz_oxide" name = "miniz_oxide"
version = "0.8.9" version = "0.8.9"
@@ -3627,16 +3541,6 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"
[[package]]
name = "nom"
version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
dependencies = [
"memchr",
"minimal-lexical",
]
[[package]] [[package]]
name = "nonmax" name = "nonmax"
version = "0.5.5" version = "0.5.5"
@@ -3769,7 +3673,7 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381"
[[package]] [[package]]
name = "opendal" name = "opendal"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"ctor", "ctor",
"opendal-core", "opendal-core",
@@ -3807,7 +3711,6 @@ dependencies = [
"opendal-service-postgresql", "opendal-service-postgresql",
"opendal-service-redb", "opendal-service-redb",
"opendal-service-redis", "opendal-service-redis",
"opendal-service-rocksdb",
"opendal-service-s3", "opendal-service-s3",
"opendal-service-sled", "opendal-service-sled",
"opendal-service-webdav", "opendal-service-webdav",
@@ -3816,7 +3719,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-core" name = "opendal-core"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64 0.22.1", "base64 0.22.1",
@@ -3844,7 +3747,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-layer-concurrent-limit" name = "opendal-layer-concurrent-limit"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"futures", "futures",
"http", "http",
@@ -3855,7 +3758,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-layer-logging" name = "opendal-layer-logging"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"log", "log",
"opendal-core", "opendal-core",
@@ -3864,7 +3767,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-layer-retry" name = "opendal-layer-retry"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"backon", "backon",
"log", "log",
@@ -3874,7 +3777,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-layer-timeout" name = "opendal-layer-timeout"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"opendal-core", "opendal-core",
"tokio", "tokio",
@@ -3883,7 +3786,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-aliyun-drive" name = "opendal-service-aliyun-drive"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -3897,7 +3800,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-alluxio" name = "opendal-service-alluxio"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -3910,7 +3813,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-azblob" name = "opendal-service-azblob"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
@@ -3930,7 +3833,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-azdls" name = "opendal-service-azdls"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -3948,7 +3851,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-azfile" name = "opendal-service-azfile"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -3965,7 +3868,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-azure-common" name = "opendal-service-azure-common"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"http", "http",
"opendal-core", "opendal-core",
@@ -3974,7 +3877,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-b2" name = "opendal-service-b2"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -3988,7 +3891,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-cacache" name = "opendal-service-cacache"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"cacache", "cacache",
@@ -3999,7 +3902,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-d1" name = "opendal-service-d1"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -4011,7 +3914,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-dashmap" name = "opendal-service-dashmap"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"dashmap 6.1.0", "dashmap 6.1.0",
"log", "log",
@@ -4022,7 +3925,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-dbfs" name = "opendal-service-dbfs"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
@@ -4036,7 +3939,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-dropbox" name = "opendal-service-dropbox"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -4049,7 +3952,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-etcd" name = "opendal-service-etcd"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"etcd-client", "etcd-client",
"fastpool", "fastpool",
@@ -4061,7 +3964,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-fs" name = "opendal-service-fs"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"log", "log",
@@ -4074,7 +3977,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-ftp" name = "opendal-service-ftp"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"fastpool", "fastpool",
@@ -4092,7 +3995,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-gcs" name = "opendal-service-gcs"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"async-trait", "async-trait",
"bytes", "bytes",
@@ -4112,7 +4015,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-gdrive" name = "opendal-service-gdrive"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -4126,7 +4029,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-ghac" name = "opendal-service-ghac"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"ghac", "ghac",
@@ -4145,7 +4048,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-github" name = "opendal-service-github"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
@@ -4159,7 +4062,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-gridfs" name = "opendal-service-gridfs"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"futures", "futures",
"mea", "mea",
@@ -4171,7 +4074,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-hdfs-native" name = "opendal-service-hdfs-native"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"futures", "futures",
@@ -4184,7 +4087,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-ipmfs" name = "opendal-service-ipmfs"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -4197,7 +4100,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-mini-moka" name = "opendal-service-mini-moka"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"log", "log",
"mini-moka", "mini-moka",
@@ -4208,7 +4111,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-moka" name = "opendal-service-moka"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"log", "log",
"moka", "moka",
@@ -4219,7 +4122,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-mongodb" name = "opendal-service-mongodb"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"mea", "mea",
"mongodb", "mongodb",
@@ -4230,7 +4133,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-mysql" name = "opendal-service-mysql"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"mea", "mea",
"opendal-core", "opendal-core",
@@ -4241,7 +4144,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-pcloud" name = "opendal-service-pcloud"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http",
@@ -4254,7 +4157,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-persy" name = "opendal-service-persy"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"opendal-core", "opendal-core",
"persy", "persy",
@@ -4264,7 +4167,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-postgresql" name = "opendal-service-postgresql"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"mea", "mea",
"opendal-core", "opendal-core",
@@ -4275,7 +4178,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-redb" name = "opendal-service-redb"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"opendal-core", "opendal-core",
"redb", "redb",
@@ -4285,7 +4188,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-redis" name = "opendal-service-redis"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"bytes", "bytes",
"fastpool", "fastpool",
@@ -4296,20 +4199,10 @@ dependencies = [
"tokio", "tokio",
] ]
[[package]]
name = "opendal-service-rocksdb"
version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12"
dependencies = [
"opendal-core",
"rocksdb",
"serde",
]
[[package]] [[package]]
name = "opendal-service-s3" name = "opendal-service-s3"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"base64 0.22.1", "base64 0.22.1",
"bytes", "bytes",
@@ -4329,7 +4222,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-sled" name = "opendal-service-sled"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"opendal-core", "opendal-core",
"serde", "serde",
@@ -4339,7 +4232,7 @@ dependencies = [
[[package]] [[package]]
name = "opendal-service-webdav" name = "opendal-service-webdav"
version = "0.55.0" version = "0.55.0"
source = "git+https://github.com/babichjacob/opendal?branch=rocksdb-0.24.0#1b6a1cb6157de00ce01fb065dfb524a7224b4f12" source = "git+https://github.com/apache/opendal#2f3b9807fcc7f5bd94edfd9a529be526b75ed459"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bytes", "bytes",
@@ -4903,7 +4796,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7" checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7"
dependencies = [ dependencies = [
"heck 0.5.0", "heck 0.5.0",
"itertools 0.14.0", "itertools",
"log", "log",
"multimap", "multimap",
"petgraph", "petgraph",
@@ -4924,7 +4817,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"itertools 0.14.0", "itertools",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.111", "syn 2.0.111",
@@ -4937,7 +4830,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"itertools 0.14.0", "itertools",
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.111", "syn 2.0.111",
@@ -5555,16 +5448,6 @@ dependencies = [
"portable-atomic-util", "portable-atomic-util",
] ]
[[package]]
name = "rocksdb"
version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddb7af00d2b17dbd07d82c0063e25411959748ff03e8d4f96134c2ff41fce34f"
dependencies = [
"libc",
"librocksdb-sys",
]
[[package]] [[package]]
name = "roxmltree" name = "roxmltree"
version = "0.21.1" version = "0.21.1"

View File

@@ -11,7 +11,7 @@ clap = { version = "4.5.40", features = ["derive", "env"] }
dashmap = "6.1.0" dashmap = "6.1.0"
futures = "0.3.32" futures = "0.3.32"
hound = "3.5.1" hound = "3.5.1"
opendal = { git = "https://github.com/babichjacob/opendal", branch = "rocksdb-0.24.0", features = [ opendal = { git = "https://github.com/apache/opendal", features = [
"services-azfile", "services-azfile",
"services-aliyun-drive", "services-aliyun-drive",
"services-alluxio", "services-alluxio",
@@ -44,7 +44,6 @@ opendal = { git = "https://github.com/babichjacob/opendal", branch = "rocksdb-0.
"services-postgresql", "services-postgresql",
"services-redb", "services-redb",
"services-redis", "services-redis",
"services-rocksdb",
"services-s3", "services-s3",
"services-sled", "services-sled",
"services-webdav", "services-webdav",

View File

@@ -1,5 +1,5 @@
ARG ALPINE_TAG=3.23.4 ARG RUST_TAG=1.94.1-alpine3.23
FROM alpine:${ALPINE_TAG} FROM rust:${RUST_TAG} AS builder
ARG BUILD_BASE_VERSION=0.5-r3 ARG BUILD_BASE_VERSION=0.5-r3
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \ RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
@@ -9,30 +9,10 @@ ARG CAPNPROTO_DEV_VERSION=1.2.0-r0
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \ RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update capnproto-dev=${CAPNPROTO_DEV_VERSION} apk add --update capnproto-dev=${CAPNPROTO_DEV_VERSION}
ARG CARGO_VERSION=1.91.1-r1
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update cargo=${CARGO_VERSION}
ARG CLANG21_DEV_VERSION=21.1.2-r2
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update clang21-dev=${CLANG21_DEV_VERSION}
ARG CLANG21_STATIC_VERSION=21.1.2-r2
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update clang21-static=${CLANG21_STATIC_VERSION}
ARG CMAKE_VERSION=4.1.3-r0 ARG CMAKE_VERSION=4.1.3-r0
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \ RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update cmake=${CMAKE_VERSION} apk add --update cmake=${CMAKE_VERSION}
ARG LLVM21_DEV_VERSION=21.1.2-r1
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update llvm21-dev=${LLVM21_DEV_VERSION}
ARG LLVM21_STATIC_VERSION=21.1.2-r1
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update llvm21-static=${LLVM21_STATIC_VERSION}
ARG PROTOC_VERSION=31.1-r1 ARG PROTOC_VERSION=31.1-r1
RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \ RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \
apk add --update protoc=${PROTOC_VERSION} apk add --update protoc=${PROTOC_VERSION}
@@ -50,6 +30,10 @@ RUN \
--mount=type=cache,target=/usr/local/cargo/registry/ \ --mount=type=cache,target=/usr/local/cargo/registry/ \
cd /root/app && \ cd /root/app && \
cargo build --release && \ cargo build --release && \
cp target/release/fomo-reducer /program cp target/release/fomo-reducer /root/program
FROM scratch AS runner
COPY --from=builder /root/program /program
ENTRYPOINT ["/program"] ENTRYPOINT ["/program"]