requires 'perl', '5.036';
requires 'Carp';
requires 'Exporter';
requires 'IO::Select';
requires 'IO::Socket::INET';
requires 'POSIX';
requires 'Storable';
requires 'Sub::Util';
requires 'Time::HiRes';

# kept_origin and gives, so each result says where it came from
# (Ekorn-Pipeline's 2026-0060). A v0.6.0 may change what stages rely on.
requires 'Ekorn::Pipeline', '>= v0.5.0, < v0.6.0';

on test => sub {
    requires 'Test2::V0';
    requires 'Test2::Plugin::NoWarnings';
    requires 'File::Temp';
    requires 'FindBin';
};

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). They
    # use Ekorn::Pipeline::Futures too, which CI installs from git until
    # it's on CPAN (its 2026-0065, D11).
    requires 'DBIx::Squirrel';
    requires 'DBD::SQLite';
    requires 'Future::AsyncAwait';
    requires 'IO::Async';

    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';
};
