3 stable releases

1.1.0 Feb 15, 2025
1.0.9 Feb 2, 2025
1.0.6-beta.0 Jan 31, 2025
1.0.4 Dec 24, 2024

#177 in Text processing

Download history 445/week @ 2024-12-19 77/week @ 2024-12-26 3/week @ 2025-01-02 68/week @ 2025-01-09 28/week @ 2025-01-16 724/week @ 2025-01-30 81/week @ 2025-02-06 157/week @ 2025-02-13 8/week @ 2025-02-20 8/week @ 2025-02-27

1,480 downloads per month

Custom license

1.5MB
17K SLoC

Greenfield Deps License License

COXave

COXave Logo

About

The library is hosted on crates.io.

Add library

CLI:

cargo add COXave

Cargo.toml:

[dependencies]
COXave = { version = "*" }

Features

Add feature to Cargo.toml to use universal functors (without SIMD-accelerated):

[dependencies]
COXave = { version = "*", features = ["universal"] }

Build

Specify target instruction set

ARM/AARCH64

V7/NEON
export RUSTFLAGS="-C target-feature=+neon,+v7"
V8/NEON
export RUSTFLAGS="-C target-feature=+neon"

x86/x86_64

SSE/SSE2
export RUSTFLAGS="-C target-feature=+sse,+sse2"
SSE/SSE2 (+SSSE3)
export RUSTFLAGS="-C target-feature=+sse,+sse2,+ssse3"
AVX/AVX2
export RUSTFLAGS="-C target-feature=+avx,+avx2"
AVX-512F/AVX-512BW
export RUSTFLAGS="-C target-feature=+avx512f,+avx512bw"

Before using unstable features you need to run this:

rustup default nightly || rustup toolchain install nightly

Usage with Python

maturin build -m api/Cargo.toml --release --features python && pip install --force-reinstall target/wheels/COXave-*.whl

License

COXave is primarily distributed under the terms of three the Anti-Virus license and MIT license and the Apache License (Version 2.0)

See LICENSE-ANTI-VIRUS and LICENSE-APACHE and LICENSE-MIT for details.

Dependencies

~0–0.9MB
~18K SLoC