clincalc 0.2.2

Open, auditable clinical calculators: a pure scoring engine plus the `clincalc` CLI in one crate. The engine is a serde-only leaf (build with default-features = false); the default `cli` feature adds the `clincalc` binary.
Documentation
#!/usr/bin/env bash
# SPDX-FileCopyrightText: 2026 Marcus Baw and Baw Medical Ltd
# SPDX-License-Identifier: AGPL-3.0-or-later
#
# Install the `clincalc` binary from this checkout onto your PATH.
#
# Builds the clincalc crate in release mode and installs the resulting `clincalc`
# binary into ~/.cargo/bin (or $CARGO_INSTALL_ROOT). --locked uses the
# committed Cargo.lock so the install is reproducible.
#
# Pass any extra `cargo install` flags through, for example:
#   s/install --force                  # reinstall over an existing copy
#   s/install --root ~/.local          # install somewhere other than ~/.cargo
#   s/install --debug                  # faster build, slower runtime

set -euo pipefail
cd "$(git rev-parse --show-toplevel)"

exec cargo install --locked --path . "$@"