Author: Michael R. Crusoe <crusoe@debian.org>
Author: Peter Michael Greem <plugwash@debian.org>
Description: soften some dependencies to match what is packaged in Debian
Forwarded: not-needed
--- sourmash.orig/src/core/Cargo.toml
+++ sourmash/src/core/Cargo.toml
@@ -31,43 +31,40 @@
 camino = { version = "1.1.10", features = ["serde1"] }
 cfg-if = "1.0"
 counter = "0.6.0"
-csv = "1.3.1"
+csv = "1.3"
 enum_dispatch = "0.3.13"
 fixedbitset = "0.4.0"
-getset = "0.1.6"
-histogram = "0.11.3"
-itertools = "0.14.0"
+getset = "0.1"
+histogram = "0.11"
+itertools = "0.13"
 log = "0.4.27"
-md5 = "0.8.0"
-memmap2 = "0.9.7"
+md5 = "0.7"
+memmap2 = "0.9"
 murmurhash3 = "0.0.5"
-needletail = { version = "0.6.3", default-features = false }
-niffler = { version = "3.0.0", default-features = false, features = [ "gz", "lzma", "zstd" ] }
-# declare liblzma here to allow static compilation and fix macos linking issues in Python wheel
-liblzma = { version = "0.3.6", features = ["static"] }
+needletail = { version = "0.6", default-features = false }
+niffler = { version = "2.6", default-features = false, features = [ "gz", "lzma", "zstd" ] }
 nohash-hasher = "0.2.0"
 num-iter = "0.1.45"
 once_cell = "1.18.0"
-ouroboros = "0.18.5"
+ouroboros = ">= 0.15"
 piz = "0.5.0"
 primal-check = "0.3.4"
 rayon = { version = "1.10.0", optional = true }
-rkyv = { version = "0.7.45", optional = true }
-roaring = "0.11.0"
+rkyv = { version = "0.8", optional = true }
+roaring = "0.10"
 roots = "0.0.8"
 serde = { version = "1.0.219", features = ["derive"] }
 serde_json = "1.0.141"
 statrs = "0.18.0"
 streaming-stats = "0.2.3"
-thiserror = "2.0"
+thiserror = "1"
 twox-hash = "1.6.0"
-typed-builder = "0.20.0"
+typed-builder = "0.21"
 vec-collections = "0.4.3"
 
 [dev-dependencies]
-codspeed-criterion-compat = "2.7.2"
-proptest = { version = "1.7.0", default-features = false, features = ["std"]}
-rand = "0.9.2"
+proptest = { version = "1.5", default-features = false, features = ["std"]}
+rand = "0.8"
 tempfile = "3.20.0"
 
 [[bench]]
@@ -93,26 +90,9 @@
     ["branchwater", "parallel"], # branchwater implies parallel
 ]
 
-## Wasm section. Crates only used for WASM, as well as specific configurations
-
-[target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dependencies]
-js-sys = "0.3.72"
-web-sys = { version = "0.3.72", features = ["console", "File", "FileReaderSync"] }
-wasm-bindgen = "0.2.89"
-getrandom = { version = "0.2", features = ["js"] }
-
-[target.'cfg(all(target_arch = "wasm32"))'.dependencies]
-chrono = { version = "0.4.32", features = ["wasmbind"] }
-
-[target.'cfg(all(target_arch = "wasm32", target_os="unknown"))'.dev-dependencies]
-wasm-bindgen-test = "0.3.42"
-
 ### These crates don't compile on wasm
 [target.'cfg(not(target_arch = "wasm32"))'.dependencies.rocksdb]
 version = "0.23.0"
 optional = true
 default-features = false
 features = [ "bindgen-runtime", "snappy", "zstd" ]
-
-[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
-criterion = "0.7.0"
