cramjam 2.0.2

Thin Python bindings to de/compression algorithms in Rust
Documentation
BASE_BENCH_CMD = python -m pytest -v --benchmark-sort name --benchmark-only benchmarks/ -k

test:
	python -m pytest -v --ignore benchmarks

bench:
	python -m pytest -v --benchmark-only --benchmark-sort name benchmarks/

bench-snappy-framed:
	$(BASE_BENCH_CMD) test_snappy_framed

bench-snappy-raw:
	$(BASE_BENCH_CMD) test_snappy_raw

bench-snappy-compress-into:
	$(BASE_BENCH_CMD) snappy_de_compress_into

bench-lz4:
	$(BASE_BENCH_CMD) lz4

bench-gzip:
	$(BASE_BENCH_CMD) gzip

bench-brotli:
	$(BASE_BENCH_CMD) brotli

bench-zstd:
	$(BASE_BENCH_CMD) zstd

dev-install:
	rm -rf ./dist
	maturin build --release --out dist --no-sdist --interpreter $(shell which python)
	pip uninstall cramjam -y
	pip install cramjam --no-index --find-links dist/

pypy-build:
	maturin build -i $(shell which pypy) --release --out dist --cargo-extra-args="--no-default-features"  # disable abi3
	pypy ./pypy_patch.py