17 releases

0.1.20+minimap2.2.28 Nov 27, 2024
0.1.19+minimap2.2.28 Jun 6, 2024
0.1.18+minimap2.2.27 Mar 16, 2024
0.1.16+minimap2.2.26 Sep 12, 2023
0.1.6 Nov 15, 2022

#161 in Biology

Download history 322/week @ 2024-08-16 64/week @ 2024-08-23 47/week @ 2024-08-30 12/week @ 2024-09-06 13/week @ 2024-09-13 39/week @ 2024-09-20 25/week @ 2024-09-27 23/week @ 2024-10-04 76/week @ 2024-10-11 33/week @ 2024-10-18 8/week @ 2024-10-25 16/week @ 2024-11-01 56/week @ 2024-11-08 140/week @ 2024-11-15 666/week @ 2024-11-22 266/week @ 2024-11-29

1,131 downloads per month
Used in 11 crates (4 directly)

MIT/Apache

760KB
22K SLoC

Rust 10K SLoC // 0.0% comments C 7K SLoC // 0.0% comments JavaScript 4K SLoC // 0.0% comments VB6 793 SLoC Cython 346 SLoC // 0.0% comments Python 110 SLoC // 0.2% comments Perl 29 SLoC Shell 7 SLoC

System Bindings for libminimap2

Use this if you need lower-level bindings for minimap2.

Minimap2 Version

Minimap2 2.28

Breaking Changes

0.0.18

mm2-fast and minimap2 have diverged. At this point mm2-fast is no longer supported. Please use a previous crate version.

Features

  • vendored - Regenerate the bindings from the vendored minimap2 source. Requires llvm installed. Useful to update the bindings to a different version of minimap2.
  • simde - Enable simde support (SIMD-everywhere)
  • sse - Enable some sse bindings
  • zlib-ng - Use zlib-ng
  • static - Static compilation

TODO

  • Can we decouple from pthread? This would allow Windows and (possibly) WASM compilation.

Changelog

0.1.20 minimap2.2.28

  • Move Drop impl to -sys crate

0.1.19 minimap2.2.28

  • Update to minimap2 2.28

0.1.18 minimap2.2.27

  • Regenerated bindings
  • mm2-fast and minimap2 have diverged

0.1.17 minimap2.2.27

  • Updated to newest version of minimap2 @jguhlin
  • mm2-fast also received some updates
  • Updated deps, rebuilt bindings @jguhlin

0.1.16 minimap2.2.26

  • Much better cross-compilation support thanks for @Adoni5

0.1.15 minimap2.2.26

  • Huge thanks to @leiste375 for aarch64 compilation!
  • Better static linking support

0.1.14 minimap2.2.26

  • Fix regression by reverting to minimap2 release version

0.1.13 minimap2.2.26

  • Possible fixes for aarch64 compilation
  • Cleaner build system
  • Early support for cross crate for cross compilation

0.1.12 minimap2.2.26

  • Fix bug with SSE2/SSE4...

0.1.11 minimap2.2.26

  • More transparent versioning of upstream minimap2
  • Update minimap2-sys minimap2 to release 2.26
  • minimap2-sys: update libc, bindgen deps
  • Better sse support. Renamed sse flag to sse2only, sse4.1 is otherwise enabled by default (if detected)
  • Hopefully better macos, aarch64, and NEON support

0.1.10

  • Fix bug relating to compiling mm2-fast

0.1.9

  • Enable SIMD-everywhere compilation support

0.1.8

  • Changed how zlib is compiled
  • Dep versions update
  • Added SSE compilation feature (Mostly autodetects)

0.1.7

  • Make bindgen an optional feature
  • zlib support for musl builds

Dependencies

~0.8–1.7MB
~26K SLoC