fashex 0.0.12

Hexadecimal string encoding and decoding with best-effort SIMD acceleration.
Documentation
# just manual: https://github.com/casey/just#readme

_default:
	just --list

# Generate code coverage report
ci *args:
	#!/bin/bash -eux
	cargo +nightly llvm-cov nextest --no-report --locked
	cargo +nightly llvm-cov --no-report --doc --locked
	cargo +nightly llvm-cov report --doctests --lcov --output-path coverage.lcov --ignore-filename-regex fuzz

# =========== LOCAL COMMANDS ===========

check *args:
	#!/bin/bash -eux
	cargo +nightly check {{args}} --locked --all-features
	cargo +1.89.0 check {{args}} --locked --all-features

clippy *args:
	#!/bin/bash -eux
	cargo +nightly clippy {{args}} --locked --all-features
	# cargo +1.89.0 clippy {{args}} --locked --all-features

test *args:
	#!/bin/bash -eux
	export RUST_BACKTRACE=1
	cargo +nightly nextest run {{args}} --locked --features std,portable-simd,experimental-loongarch-simd
	cargo +nightly test {{args}} --doc --locked --features std,portable-simd,experimental-loongarch-simd
	cargo +1.89.0 nextest run {{args}} --locked --features std
	cargo +1.89.0 test {{args}} --doc --locked --features std

miri *args:
	#!/bin/bash -eux
	export RUST_BACKTRACE=1
	export MIRIFLAGS="-Zmiri-backtrace=full ${MIRIFLAGS:-}"
	cargo +nightly miri nextest run --all-features {{args}}

coverage:
	#!/bin/bash -eux
	cargo +nightly llvm-cov nextest --all-features --no-report --locked
	cargo +nightly llvm-cov --all-features --no-report --doc --locked
	cargo +nightly llvm-cov report --doctests --html --output-dir coverage --ignore-filename-regex fuzz