libsais_sys/
lib.rs

1/*!
2Raw bindings to the [`libsais`](https://github.com/IlyaGrebnov/libsais) C library by Ilya Grebnov.
3
4The `libsais` library provides fast linear-time construction of suffix array (SA),
5generalized suffix array (GSA), longest common prefix (LCP) array, permuted LCP (PLCP) array,
6Burrows-Wheeler transform (BWT) and inverse BWT, based on the induced sorting algorithm
7(with optional OpenMP support for multi-core parallel construction).
8
9The OpenMP support is guarded by the `openmp` feature of this crate, which is enabled by default.
10*/
11
12#![allow(non_camel_case_types)]
13
14#[cfg(feature = "openmp")]
15extern crate openmp_sys;
16
17/// Version of the library for 8-bit inputs smaller than 2GB (2147483648 bytes).
18/// Also allows integer array inputs in some instances.
19pub mod libsais;
20
21/// Extension of the library for inputs larger or equal to 2GB (2147483648 bytes).
22pub mod libsais64;
23
24/// Independent version of `libsais` for 16-bit inputs.
25pub mod libsais16;
26
27/// Independent version of `libsais64` for 16-bit inputs.
28pub mod libsais16x64;