diff --git a/Cargo.lock b/Cargo.lock index 078dfc3..a0c2a7f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -434,24 +434,6 @@ version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" 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]] name = "bitflags" version = "1.3.2" @@ -584,16 +566,6 @@ version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" 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]] name = "cacache" version = "13.1.0" @@ -697,15 +669,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c" -[[package]] -name = "cexpr" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom", -] - [[package]] name = "cfg-if" version = "1.0.4" @@ -766,16 +729,6 @@ dependencies = [ "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]] name = "clap" version = "4.5.53" @@ -2762,15 +2715,6 @@ 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" @@ -3229,19 +3173,6 @@ dependencies = [ "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]] name = "libsqlite3-sys" version = "0.30.1" @@ -3252,17 +3183,6 @@ dependencies = [ "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]] name = "linked-hash-map" version = "0.5.6" @@ -3471,12 +3391,6 @@ dependencies = [ "triomphe", ] -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - [[package]] name = "miniz_oxide" version = "0.8.9" @@ -3627,16 +3541,6 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" 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]] name = "nonmax" version = "0.5.5" @@ -3769,7 +3673,7 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "opendal" 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 = [ "ctor", "opendal-core", @@ -3807,7 +3711,6 @@ dependencies = [ "opendal-service-postgresql", "opendal-service-redb", "opendal-service-redis", - "opendal-service-rocksdb", "opendal-service-s3", "opendal-service-sled", "opendal-service-webdav", @@ -3816,7 +3719,7 @@ dependencies = [ [[package]] name = "opendal-core" 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 = [ "anyhow", "base64 0.22.1", @@ -3844,7 +3747,7 @@ dependencies = [ [[package]] name = "opendal-layer-concurrent-limit" 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 = [ "futures", "http", @@ -3855,7 +3758,7 @@ dependencies = [ [[package]] name = "opendal-layer-logging" 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 = [ "log", "opendal-core", @@ -3864,7 +3767,7 @@ dependencies = [ [[package]] name = "opendal-layer-retry" 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 = [ "backon", "log", @@ -3874,7 +3777,7 @@ dependencies = [ [[package]] name = "opendal-layer-timeout" 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 = [ "opendal-core", "tokio", @@ -3883,7 +3786,7 @@ dependencies = [ [[package]] name = "opendal-service-aliyun-drive" 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 = [ "bytes", "http", @@ -3897,7 +3800,7 @@ dependencies = [ [[package]] name = "opendal-service-alluxio" 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 = [ "bytes", "http", @@ -3910,7 +3813,7 @@ dependencies = [ [[package]] name = "opendal-service-azblob" 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 = [ "base64 0.22.1", "bytes", @@ -3930,7 +3833,7 @@ dependencies = [ [[package]] name = "opendal-service-azdls" 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 = [ "bytes", "http", @@ -3948,7 +3851,7 @@ dependencies = [ [[package]] name = "opendal-service-azfile" 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 = [ "bytes", "http", @@ -3965,7 +3868,7 @@ dependencies = [ [[package]] name = "opendal-service-azure-common" 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 = [ "http", "opendal-core", @@ -3974,7 +3877,7 @@ dependencies = [ [[package]] name = "opendal-service-b2" 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 = [ "bytes", "http", @@ -3988,7 +3891,7 @@ dependencies = [ [[package]] name = "opendal-service-cacache" 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 = [ "bytes", "cacache", @@ -3999,7 +3902,7 @@ dependencies = [ [[package]] name = "opendal-service-d1" 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 = [ "bytes", "http", @@ -4011,7 +3914,7 @@ dependencies = [ [[package]] name = "opendal-service-dashmap" 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 = [ "dashmap 6.1.0", "log", @@ -4022,7 +3925,7 @@ dependencies = [ [[package]] name = "opendal-service-dbfs" 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 = [ "base64 0.22.1", "bytes", @@ -4036,7 +3939,7 @@ dependencies = [ [[package]] name = "opendal-service-dropbox" 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 = [ "bytes", "http", @@ -4049,7 +3952,7 @@ dependencies = [ [[package]] name = "opendal-service-etcd" 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 = [ "etcd-client", "fastpool", @@ -4061,7 +3964,7 @@ dependencies = [ [[package]] name = "opendal-service-fs" 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 = [ "bytes", "log", @@ -4074,7 +3977,7 @@ dependencies = [ [[package]] name = "opendal-service-ftp" 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 = [ "bytes", "fastpool", @@ -4092,7 +3995,7 @@ dependencies = [ [[package]] name = "opendal-service-gcs" 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 = [ "async-trait", "bytes", @@ -4112,7 +4015,7 @@ dependencies = [ [[package]] name = "opendal-service-gdrive" 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 = [ "bytes", "http", @@ -4126,7 +4029,7 @@ dependencies = [ [[package]] name = "opendal-service-ghac" 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 = [ "bytes", "ghac", @@ -4145,7 +4048,7 @@ dependencies = [ [[package]] name = "opendal-service-github" 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 = [ "base64 0.22.1", "bytes", @@ -4159,7 +4062,7 @@ dependencies = [ [[package]] name = "opendal-service-gridfs" 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 = [ "futures", "mea", @@ -4171,7 +4074,7 @@ dependencies = [ [[package]] name = "opendal-service-hdfs-native" 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 = [ "bytes", "futures", @@ -4184,7 +4087,7 @@ dependencies = [ [[package]] name = "opendal-service-ipmfs" 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 = [ "bytes", "http", @@ -4197,7 +4100,7 @@ dependencies = [ [[package]] name = "opendal-service-mini-moka" 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 = [ "log", "mini-moka", @@ -4208,7 +4111,7 @@ dependencies = [ [[package]] name = "opendal-service-moka" 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 = [ "log", "moka", @@ -4219,7 +4122,7 @@ dependencies = [ [[package]] name = "opendal-service-mongodb" 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 = [ "mea", "mongodb", @@ -4230,7 +4133,7 @@ dependencies = [ [[package]] name = "opendal-service-mysql" 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 = [ "mea", "opendal-core", @@ -4241,7 +4144,7 @@ dependencies = [ [[package]] name = "opendal-service-pcloud" 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 = [ "bytes", "http", @@ -4254,7 +4157,7 @@ dependencies = [ [[package]] name = "opendal-service-persy" 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 = [ "opendal-core", "persy", @@ -4264,7 +4167,7 @@ dependencies = [ [[package]] name = "opendal-service-postgresql" 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 = [ "mea", "opendal-core", @@ -4275,7 +4178,7 @@ dependencies = [ [[package]] name = "opendal-service-redb" 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 = [ "opendal-core", "redb", @@ -4285,7 +4188,7 @@ dependencies = [ [[package]] name = "opendal-service-redis" 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 = [ "bytes", "fastpool", @@ -4296,20 +4199,10 @@ dependencies = [ "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]] name = "opendal-service-s3" 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 = [ "base64 0.22.1", "bytes", @@ -4329,7 +4222,7 @@ dependencies = [ [[package]] name = "opendal-service-sled" 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 = [ "opendal-core", "serde", @@ -4339,7 +4232,7 @@ dependencies = [ [[package]] name = "opendal-service-webdav" 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 = [ "anyhow", "bytes", @@ -4903,7 +4796,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7" dependencies = [ "heck 0.5.0", - "itertools 0.14.0", + "itertools", "log", "multimap", "petgraph", @@ -4924,7 +4817,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools", "proc-macro2", "quote", "syn 2.0.111", @@ -4937,7 +4830,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" dependencies = [ "anyhow", - "itertools 0.14.0", + "itertools", "proc-macro2", "quote", "syn 2.0.111", @@ -5555,16 +5448,6 @@ dependencies = [ "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]] name = "roxmltree" version = "0.21.1" diff --git a/Cargo.toml b/Cargo.toml index a1313db..7a9d842 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/babichjacob/opendal", branch = "rocksdb-0.24.0", features = [ +opendal = { git = "https://github.com/apache/opendal", features = [ "services-azfile", "services-aliyun-drive", "services-alluxio", @@ -44,7 +44,6 @@ opendal = { git = "https://github.com/babichjacob/opendal", branch = "rocksdb-0. "services-postgresql", "services-redb", "services-redis", - "services-rocksdb", "services-s3", "services-sled", "services-webdav", diff --git a/Dockerfile b/Dockerfile index bfb756a..78d7263 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -ARG ALPINE_TAG=3.23.4 -FROM alpine:${ALPINE_TAG} +ARG RUST_TAG=1.94.1-alpine3.23 +FROM rust:${RUST_TAG} AS builder ARG BUILD_BASE_VERSION=0.5-r3 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 \ 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 RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \ 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 RUN --mount=type=cache,sharing=locked,target=/var/cache/apk \ apk add --update protoc=${PROTOC_VERSION} @@ -50,6 +30,10 @@ RUN \ --mount=type=cache,target=/usr/local/cargo/registry/ \ cd /root/app && \ 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"]