# Only the latest stable Perl (README.md, "REQUIREMENTS"): the code is on `feature 'class'` and the
# other features of 5.44.
requires 'perl' => '5.044';
requires 'Time::Piece';

# For `image`: fetched with HTTP::Tiny (core) over HTTPS, read and scaled with Imager.
requires 'Imager';
requires 'IO::Socket::SSL', '1.968';
# Most of the images are JPEG or GIF. These need libjpeg and giflib on the system.
recommends 'Imager::File::JPEG';
recommends 'Imager::File::GIF';

on 'configure' => sub {
    requires 'Module::Build::Tiny';
};

on 'test' => sub {
    requires 'Test2::V0';
    requires 'JSON::PP';
};

on 'develop' => sub {
    # v3.2.0: manage_changes in minil.toml (the change log is CHANGELOG.md)
    requires 'Minilla', 'v3.2.0';
    requires 'Pod::Markdown::Github';
    requires 'Test::Perl::Critic';
    requires 'Test::Pod', '1.41';
    # Run on the tarball by the dist job of ci.yml: each package can be indexed for MIKIHOSHI (#21)
    requires 'Test::PAUSE::Permissions';
    # The version checked to format `use feature 'class'` (class, field, method, ADJUST) (#6)
    requires 'Perl::Tidy', '20260826';
};
