Subject: | Make LWP a soft dependency |
XML::Parser already has code to gracefully handle the case where LWP is not available to resolve external entities. This is a great feature as it is useful when the user of XML::Parser knows that it will parse files that do not contain external entities at all.
But at the same time the XML::Parser distribution has hard ('requires') runtime dependency on LWP in Makefile.PL and so META.yml.
When using packaging tools such as Carton, it would be useful to have the dependencies reduced to what is really required at runtime for the packaged application. LWP is a package that has a big list of recursive dependencies. So this hard 'requires' dependency on LWP gets in the way.
So it would be helpful to soften this dependency and set it as a runtime/recommends.
--
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/
But at the same time the XML::Parser distribution has hard ('requires') runtime dependency on LWP in Makefile.PL and so META.yml.
When using packaging tools such as Carton, it would be useful to have the dependencies reduced to what is really required at runtime for the packaged application. LWP is a package that has a big list of recursive dependencies. So this hard 'requires' dependency on LWP gets in the way.
So it would be helpful to soften this dependency and set it as a runtime/recommends.
--
Olivier Mengué - http://perlresume.org/DOLMEN - https://gratipay.com/dolmen/