help: ## Display this help screen
	@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'

test: ## Run tests
	@RUST_LOG=error cargo test --release

test-debug: ## Run tests with full output
	@cargo test --release -- --nocapture

clean:
	@cargo clean
			
clippy: ## Run clippy
	@cargo clippy --all-features --release -- -D warnings

doc: ## Run doc gen
	@cargo doc --release

.PHONY: test test-debug help clean
