barista 0.16.8

Concurrent status bar with cache expirations and remote control; aggregating outputs from external collector processes.
Documentation
.PHONY: check
check:
	cargo check
	cargo test
	cargo clippy
	$(MAKE) clippy_float_cast
	$(MAKE) clippy_pedantic
	cargo fmt --check

.PHONY: clippy_float_cast
clippy_float_cast:
	cargo clippy -- \
		-W clippy::cast-possible-truncation \
		-W clippy::cast-sign-loss

.PHONY: clippy_nursery
clippy_nursery:
	cargo clippy -- -W clippy::nursery

.PHONY: clippy_cargo
clippy_cargo:
	cargo clippy -- -W clippy::cargo

.PHONY: clippy_pedantic
clippy_pedantic:
	cargo clippy -- \
		-W clippy::pedantic \
		-A clippy::must_use_candidate \
		-A clippy::similar_names \
		-A clippy::single_match_else \
		-A clippy::uninlined-format-args \
		-A clippy::missing_errors_doc

# XXX Coverage recipes assume llvm-cov is installed:
.PHONY: coverage
coverage:
	cargo llvm-cov --lib --ignore-filename-regex 'tests\.rs'

.PHONY: coverage_html
coverage_html:
	cargo llvm-cov --lib --ignore-filename-regex 'tests\.rs' --open

.PHONY: install
install:
	cargo install --path .

.PHONY: tag
tag:
	git tag v$$(cargo pkgid | awk -F'#' '{print $$2}')