celery-rs 0.6.0

Community-maintained Rust implementation of Celery (fork of rusty-celery)
Documentation
.PHONY : build
build :
	cargo build

.PHONY : setup
setup :
	rustup component add rustfmt
	rustup component add clippy

.PHONY : format
format :
	cargo fmt --

.PHONY : check-fmt
check-fmt :
	cargo fmt --all -- --check

.PHONY : check-clippy
check-clippy :
	cargo clippy --workspace --all-targets --all-features -- \
			-D warnings \
			-A clippy::upper-case-acronyms \
		-A non-local-definitions

.PHONY : lint
lint : check-fmt check-clippy

.PHONY : test
test :
	@cargo test --workspace --lib
	@cargo test --workspace --doc
	@cargo test --test codegen task_codegen
	@cargo test --no-run --test codegen app_codegen
	@cargo test --no-run --test codegen beat_codegen

.PHONY : broker-tests
broker-tests :
	@cargo test --test integrations brokers::amqp
	@cargo test --test integrations brokers::redis

.PHONY : run-all-tests
run-all-tests :
	@cargo test --workspace --lib
	@cargo test --workspace --doc
	@cargo test --test codegen task_codegen
	@cargo test --no-run --test codegen app_codegen
	@cargo test --no-run --test codegen beat_codegen
	@cargo test --test integrations brokers::amqp
	@cargo test --test integrations brokers::redis

.PHONY : build-docs
build-docs :
	cargo doc --all-features --workspace --no-deps

.PHONY : check-minimal-versions
check-minimal-versions :
	rm -f Cargo.lock
	cargo +nightly build -Z minimal-versions --tests