Skip to content

Commit 03e5bc2

Browse files
committed
update dependencies
1 parent e7ee2f1 commit 03e5bc2

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

crates/backend/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ walkdir = "2.5.0"
7575

7676
# rest backend
7777
backoff = { version = "0.4.0", optional = true }
78-
reqwest = { version = "0.11.26", default-features = false, features = ["json", "rustls-tls-native-roots", "stream", "blocking"], optional = true }
78+
reqwest = { version = "0.12.4", default-features = false, features = ["json", "rustls-tls-native-roots", "stream", "blocking"], optional = true }
7979

8080
# rclone backend
8181
rand = { version = "0.8.5", optional = true }
@@ -84,15 +84,15 @@ semver = { version = "1.0.22", optional = true }
8484
# opendal backend
8585
bytesize = "1.3.0"
8686
rayon = { version = "1.9.0", optional = true }
87-
tokio = { version = "1.36.0", optional = true, default-features = false }
87+
tokio = { version = "1.37.0", optional = true, default-features = false }
8888

8989
[target.'cfg(not(windows))'.dependencies]
9090
# opendal backend - sftp is not supported on windows, see https://github.com/apache/incubator-opendal/issues/2963
91-
opendal = { version = "0.45", features = ["services-b2", "services-sftp", "services-swift", "layers-blocking", "layers-throttle"], optional = true }
91+
opendal = { version = "0.46", features = ["services-b2", "services-sftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-blocking", "layers-throttle"], optional = true }
9292

9393
[target.'cfg(windows)'.dependencies]
9494
# opendal backend
95-
opendal = { version = "0.45", features = ["services-b2", "services-swift", "layers-blocking", "layers-throttle"], optional = true }
95+
opendal = { version = "0.46", features = ["services-b2", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-blocking", "layers-throttle"], optional = true }
9696

9797
[dev-dependencies]
9898
rstest = { workspace = true }

crates/backend/src/opendal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ impl ReadBackend for OpenDALBackend {
213213
fn read_full(&self, tpe: FileType, id: &Id) -> Result<Bytes> {
214214
trace!("reading tpe: {tpe:?}, id: {id}");
215215

216-
Ok(self.operator.read(&self.path(tpe, id))?.into())
216+
Ok(self.operator.read(&self.path(tpe, id))?.to_bytes())
217217
}
218218

219219
fn read_partial(
@@ -231,7 +231,7 @@ impl ReadBackend for OpenDALBackend {
231231
.read_with(&self.path(tpe, id))
232232
.range(range)
233233
.call()?
234-
.into())
234+
.to_bytes())
235235
}
236236
}
237237

crates/core/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ serde_json = "1.0.114"
7979
serde_with = { version = "3.7.0", features = ["base64"] }
8080

8181
# local source/destination
82-
cached = { version = "0.49.2", default-features = false, features = ["proc_macro"] }
82+
cached = { version = "0.51.3", default-features = false, features = ["proc_macro"] }
8383
dunce = "1.0.4"
8484
filetime = "0.2.23"
8585
ignore = "0.4.22"
@@ -111,9 +111,9 @@ enumset = { version = "1.1.3", features = ["serde"] }
111111
gethostname = "0.4.3"
112112
humantime = "2.1.0"
113113
itertools = "0.12.1"
114-
quick_cache = "0.4.1"
114+
quick_cache = "0.5.1"
115115
strum = { version = "0.26.2", features = ["derive"] }
116-
zstd = "0.13.0"
116+
zstd = "0.13.1"
117117

118118
[target.'cfg(not(windows))'.dependencies]
119119
sha2 = { version = "0.10", features = ["asm"] }
@@ -139,7 +139,7 @@ pretty_assertions = "1.4.0"
139139
quickcheck = "1.0.3"
140140
quickcheck_macros = "1.0.0"
141141
rstest = { workspace = true }
142-
rustdoc-json = "0.8.9"
142+
rustdoc-json = "0.9.0"
143143
# We need to have rustic_backend here, because the doc-tests in lib.rs of rustic_core
144144
rustic_backend = { workspace = true }
145145
rustic_testing = { workspace = true }

0 commit comments

Comments
 (0)