si-scale 0.3.0

Format values using the appropriate SI scale: seconds(1.3e-5) -> 13 µs
Documentation
.PHONY: all clean test nightly coverage lint check

all: lint check

lint:
	cargo fmt --all -- --check
	cargo clippy -- -D warnings

check:
	cargo deny check
	cargo outdated --exit-code 1
	cargo +nightly udeps
	cargo audit
	cargo pants

nightly:
	rustup default nightly

coverage: export CARGO_INCREMENTAL := 0
coverage: export RUSTFLAGS := -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort
coverage: export RUSTDOCFLAGS := -Cpanic=abort
coverage: nightly
	@echo $(RUSTFLAGS)
	@echo $(RUSTDOCFLAGS)
	cargo build
	cargo test
	grcov . --binary-path ./target/debug/ -s . -t html --branch --ignore-not-existing -o ./coverage/