Subject: | Suggestion: use develop.requires and test.recommends/suggests instead of optional features |
Due to "develop" phase and "recommendations" being well standardised in modern toolchains, you could make the intent and use of the optional dependencies much cleaner from a consumer standpoint.
My suggestion would be to migrate current prereqs as follows:
`Test` should move from PREREQ_PM to TEST_REQUIRES
maximum_tests should move to metamerge as `prereqs.test.suggests` ( Suggests, because CPAN.pm presently always pulls recommends so its effectively making them requires :( )
maximum_devel should move to `prereqs.develop.requires`.
This will mean no need for option prompting, and will instead simply be selected automatically by your CPAN installer configuration.
If you also put meta-spec version => 2 in META MERGE, then it will output a nice META 2.0 META.json without merging test requirements into `build` requirements.
You may also want to add a compat shim at the bottom of some kind giving legacy compat options.
If you have a public repository available for this module I'd gladly attempt patching it myself.
( I was forwarded here by a Gentoo staffer who had a little trouble understanding how to package your module and I figured it could be made simpler and more standardised =) )
You have this sort of pattern quite frequently in a lot of your modules of also using the more traditional approach of declaring test requirements as "prereqs", which hampers anyone who wants to do a --notest install slightly.
I understand its probably a big ask to ask you to change all your modules over night to a more modern style, but if I can help you modernise it without too much effort or annoyance on your behalf I'm glad to help =).