.PHONY = build clean doc format lint

build:
	cargo build

clean:
	rm -rf target

doc:
	RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --no-deps --all-features

format:
	cargo fmt

lint:
	cargo clippy --all-targets --all-features -- -D warnings
