iocaine 2.2.0

The deadliest poison known to AI
Documentation
# SPDX-FileCopyrightText: 2025 Gergely Nagy
# SPDX-FileContributor: Gergely Nagy
#
# SPDX-License-Identifier: MIT

# Display this help screen
help:
    @just --list

# Format all sources
fmt:
    treefmt --ci

# Verify that all licenses are properly declared
license-check:
    reuse lint

# Build iocaine, optionally with custom OPTIONS.
build *OPTIONS:
    cargo build {{ OPTIONS }}

# Run Clippy with a set of lints: either "default" or "pedantic".
clippy lints="default":
    @just clippy-{{ lints }}

[private]
clippy-default *OPTS:
    cargo clippy -- {{ OPTS }}

[private]
clippy-pedantic *OPTS:
    cargo clippy -- \
          -W clippy::pedantic \
          -W clippy::nursery \
          -W clippy::str_to_string \
          -A clippy::missing_panics_doc \
          -A clippy::missing_errors_doc \
          -A clippy::module_name_repetitions \
          -A clippy::missing_const_for_fn \
          -A clippy::derive_partial_eq_without_eq \
          {{ OPTS }}