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

#302 in Text processing

Download history 35/week @ 2024-12-15 469/week @ 2024-12-22 19/week @ 2024-12-29 8/week @ 2025-01-05 76/week @ 2025-01-12 14/week @ 2025-01-19 334/week @ 2025-01-26 467/week @ 2025-02-02 80/week @ 2025-02-09 86/week @ 2025-02-16 5/week @ 2025-02-23 6/week @ 2025-03-02

1,480 downloads per month

Custom license

2.5MB
5.5K 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