requires 'perl', '5.036';
requires 'Carp';
requires 'Exporter';
requires 'Scalar::Util';
requires 'experimental';

# kept_origin and gives, so each result says where it came from
# (Ekorn-Pipeline's 2026-0060), and from v0.5.1 Text::CSV, which the
# how-to's CSV recipes use (its 2026-0068). A v0.6.0 may change what
# stages rely on.
requires 'Ekorn::Pipeline', '>= v0.5.1, < v0.6.0';

# What a block gives is awaited through the methods Future::AsyncAwait's
# await uses; Future wraps a block's plain results, and its failures.
# Tried with Future 0.54; no earlier version has been.
requires 'Future';

on test => sub {
    requires 'Test2::V0';
    requires 'Test2::Plugin::NoWarnings';

    # What callers bring: loops, clients and async subs. Each test
    # needing one skips without it.
    recommends 'Future::AsyncAwait';
    recommends 'IO::Async';
    recommends 'Net::Async::HTTP';
    recommends 'Net::Async::HTTP::Server';
    recommends 'Mojolicious';
    recommends 'Future::Mojo';
};

on develop => sub {
    # What the how-to's recipes use, so that xt/howto.t fails without
    # it, rather than skipping (Ekorn-Pipeline's 2026-0064, D7).
    requires 'Future::AsyncAwait';
    requires 'IO::Async';
    requires 'Net::Async::HTTP';
    requires 'Net::Async::HTTP::Server';
    requires 'Mojolicious';
    requires 'Future::Mojo';
    # A recipe's rows, read and written outside the loop
    # (Ekorn-Pipeline's 2026-0064, D10).
    requires 'DBIx::Squirrel';
    requires 'DBD::SQLite';

    requires 'Devel::Cover';
    # The version that writes META.json, which Minilla names in it, so
    # that it doesn't change with the library that built it.
    requires 'JSON::PP', '4.18';
    requires 'Minilla';
    requires 'Perl::Critic';
    requires 'Perl::Tidy';
    requires 'Pod::Coverage';
    requires 'Pod::Markdown::Github';
    requires 'Software::License';
    requires 'Test::Spellunker', 'v0.2.2';

    # What Minilla's release tests, which minil dist writes into the
    # tarball, skip without.
    requires 'Test::CPAN::Meta';
    requires 'Test::MinimumVersion::Fast';
    requires 'Test::PAUSE::Permissions';
    requires 'Test::Pod', '1.41';
};
