From 1c865cea1b0d86753f656e5a2e3a0c1369eba59a Mon Sep 17 00:00:00 2001 From: Joseph Guhlin Date: Wed, 27 Nov 2024 14:12:10 +1300 Subject: [PATCH 1/2] Update changelog --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d88f511..e5767bc 100644 --- a/README.md +++ b/README.md @@ -317,7 +317,7 @@ See [customization](#customization) for how to use these. Contributors to this release: @mbhall88 @rob-p @Sam-Sims @charlesgregory @PB-DB #### Breaking Changes + Map now returns Arc String's to reduce memory allocation for large and/or repetitive jobs -+ map now takes an additional argument, query_name: Option>, possibly solves [#75](https://github.com/jguhlin/minimap2-rs/issues/75) (@rob-p @mbhall88 @jguhlin) ++ map now takes an additional argument, query_name: Option<&[u8]>, possibly solves [#75](https://github.com/jguhlin/minimap2-rs/issues/75) (@rob-p @mbhall88 @jguhlin) + Arc the Index, to prevent double-frees, solves [#71](https://github.com/jguhlin/minimap2-rs/issues/71) + Map file now passes in query name, which should help with [#75](https://github.com/jguhlin/minimap2-rs/issues/75) + Supplementary flag now better detected (@rob-p) @@ -339,6 +339,8 @@ Contributors to this release: @mbhall88 @rob-p @Sam-Sims @charlesgregory @PB-DB + Only use rust-htslib/curl when curl feature is enabled @PB-DB + Mark bam::Record objects as supplementary @PB-DB + Experimental Android support (tested on aarch64 and x86_64), solves [#66](https://github.com/jguhlin/minimap2-rs/issues/66) ++ Added flag and option documents ++ Added with_gap_open penalty ergonomic function ### 0.1.20 minimap2 2.28 + Fix htslib errors. No update to -sys crate needed. From 2efe65fb39fba3ac117c8724a8e526c5e279243d Mon Sep 17 00:00:00 2001 From: Joseph Guhlin Date: Wed, 27 Nov 2024 16:13:52 +1300 Subject: [PATCH 2/2] Update cargo.toml --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3fabff5..8134068 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ rayon = "1.10" # opt-level = 3 [features] -default = ["map-file", "htslib"] +default = ["map-file"] map-file = ["needletail"] #, "simdutf8"] htslib = ['rust-htslib'] simde = ["minimap2-sys/simde"] @@ -56,7 +56,7 @@ zlib-ng = ["minimap2-sys/zlib-ng"] curl = ["rust-htslib/curl"] static = ["minimap2-sys/static", "rust-htslib/static"] sse2only = ["minimap2-sys/sse2only"] - +rust-threads = ["minimap2-sys/rust-threads"] [package.metadata.docs.rs] features = ["map-file", "htslib"]