aha 0.2.4

aha model inference library, now supports Qwen(2.5VL/3/3VL/3.5/ASR), MiniCPM4, VoxCPM/1.5, DeepSeek-OCR/2, Hunyuan-OCR, PaddleOCR-VL/1.5, RMBG2.0, GLM(ASR-Nano-2512/OCR), Fun-ASR-Nano-2512, LFM(2/2.5)
Documentation
SHELL := bash
.DELETE_ON_ERROR:
.SHELLFLAGS := -eu -o pipefail -c
.DEFAULT_GOAL := help
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
MAKEFLAGS += --no-print-directory

build:
	@echo "Building project..."
	@cargo build

build_mac:
	@echo "Building project for macOS..."
	@cargo build --features metal  --release

build_mac_universal:
	@echo "Building universal binary for macOS..."
	@cargo build --features metal --release --target aarch64-apple-darwin
	@cargo build --features metal --release --target x86_64-apple-darwin
	@mkdir -p target/universal/release
	@lipo -create target/aarch64-apple-darwin/release/aha target/x86_64-apple-darwin/release/aha -output target/universal/release/aha


test:
	@echo "Running tests..."
	@cargo test

clean:
	@echo "Cleaning project..."
	@cargo clean

fmt:
	@echo "Formatting code..."
	@cargo fmt --all -- --check

lint:
	@echo "Linting code..."
	@cargo clippy --no-deps --all-targets -- -D warnings

help:
	@echo "Available commands:"
	@echo "  build         - Build the project"
	@echo "  build_mac     - Build the project for macOS"
	@echo "  test          - Run tests"
	@echo "  clean         - Clean the project"
	@echo "  fmt           - Format the code"
	@echo "  lint          - Lint the code"
	@echo "  help          - Show this help message"

.PHONY: build test clean fmt lint help