Skip to content

Commit

Permalink
refactor: remove finch conversion, support zstd and lzma in wasm (#3521)
Browse files Browse the repository at this point in the history
Address sourmash-bio/branchwater#41

Allow zstd and lzma in wasm.

Removed finch conversion because it has conflicts with lzma version, but
also... I don't think it was ever used? People can stick to `0.18.0` and
we can bring it back if needed.
  • Loading branch information
luizirber authored Feb 4, 2025
1 parent cf47079 commit dc292f4
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 223 deletions.
137 changes: 45 additions & 92 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sourmash"
version = "0.18.0"
version = "0.19.0"
authors = ["Luiz Irber <[email protected]>", "N. Tessa Pierce-Ward <[email protected]>", "C. Titus Brown <[email protected]>"]
description = "tools for comparing biological sequences with k-mer sketches"
repository = "https://github.com/sourmash-bio/sourmash"
Expand All @@ -19,7 +19,6 @@ crate-type = ["lib", "staticlib", "cdylib"]
bench = false

[features]
from-finch = ["dep:finch"]
parallel = ["dep:rayon"]
maturin = []
branchwater = ["dep:rocksdb", "parallel"]
Expand All @@ -34,7 +33,6 @@ cfg-if = "1.0"
counter = "0.6.0"
csv = "1.3.1"
enum_dispatch = "0.3.13"
finch = { version = "0.6.0", optional = true }
fixedbitset = "0.4.0"
getset = "0.1.4"
histogram = "0.11.2"
Expand All @@ -44,7 +42,9 @@ md5 = "0.7.0"
memmap2 = "0.9.5"
murmurhash3 = "0.0.5"
needletail = { version = "0.6.1", default-features = false }
niffler = { version = "2.4.0", default-features = false, features = [ "gz" ] }
niffler = { version = "2.6.0", default-features = false, features = [ "gz", "zstd", "lzma" ] }
# declare liblzma here to allow static compilation and fix macos linking issues in Python wheel
liblzma = { version = "0.3.0", features = ["static"] }
nohash-hasher = "0.2.0"
num-iter = "0.1.45"
once_cell = "1.18.0"
Expand Down
Loading

0 comments on commit dc292f4

Please sign in to comment.