chore: update dependencies and adapt to updated crate APIs
Bumps core dependencies including ndarray, rand, hashbrown, niffler, ureq, sysinfo, indicatif, lru, and remove_dir_all. Adapts source code to accommodate breaking changes by migrating RNG initialization, adjusting HTTP response handling, and replacing the fs4 crate with standard library file locking. Adds a planning document for query benchmarking and sparse index regression tests.
This commit is contained in:
1 parent
32bcbd1465
commit
5a9d903e51
15 files changed
+365
-511
No files matched your search
@@ -5,11 +5,15 @@ edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
obikrope = { path = "../obikrope" }
|
||||
niffler = { version = "2", default-features = false, features = ["gz", "bz2", "lzma", "zstd"] }
|
||||
bzip2-sys = { version = "0.1", features = ["static"] }
|
||||
liblzma-sys = { version = "0.3", features = ["static"] }
|
||||
ureq = "2"
|
||||
niffler = { version = "3", default-features = false, features = ["gz", "bz2", "lzma", "zstd"] }
|
||||
# `niffler`'s plain "bz2" feature only pulls the `bzip2` crate, without
|
||||
# picking a backend — its own "default" feature is what forwards
|
||||
# "bzip2/default" (the pure-Rust libbz2-rs-sys backend). Depend on it
|
||||
# directly, default features on, purely to select that backend.
|
||||
bzip2 = "0.6"
|
||||
liblzma = { version = "0.4", features = ["static"] }
|
||||
ureq = "3"
|
||||
tracing = "0.1.44"
|
||||
tracing-subscriber = { version = "0.3.23", features = ["fmt", "env-filter"] }
|
||||
infer = "0.19.0"
|
||||
infer = "0.22.0"
|
||||
regex = "1"
|
||||
@@ -52,7 +52,7 @@ fn http_reader(url: &str) -> io::Result<Box<dyn Read + Send>> {
|
||||
ureq::get(url)
|
||||
.call()
|
||||
.map_err(|e| io::Error::new(io::ErrorKind::Other, e.to_string()))
|
||||
.map(|resp| -> Box<dyn Read + Send> { Box::new(resp.into_reader()) })
|
||||
.map(|resp| -> Box<dyn Read + Send> { Box::new(resp.into_body().into_reader()) })
|
||||
}
|
||||
|
||||
fn decompress(raw: Box<dyn Read + Send>) -> io::Result<Box<dyn Read + Send>> {
|
||||
|
||||
Reference in new issue
Block a user