COXave

Crates.ioCOXave
lib.rsCOXave
version1.1.0
created_at2024-12-21 23:04:40.256248+00
updated_at2025-02-15 21:30:53.318478+00
descriptionInstruments for codings
homepage
repositoryhttps://github.com/xavetar/COXave
max_upload_size
id1491534
size1,941,664
Stanislav Mikhailov (xavetar)

documentation

https://docs.rs/crate/COXave/latest

README

Greenfield Deps License License

COXave

COXave Logo

Crypto donation button by NOWPayments

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.

Commit count: 32

cargo fmt