-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Depending on the lego Go module ends up causing your project to depend on dozens of other modules which implement the APIs for different DNS providers (primarily). While their packages won't bloat your binary size if unused, it does cause your dependency graph to be larger, and if you do use one of those libraries it can affect what version of the library gets used in your project even if you don't use the relevant piece. (eg, when we added lego to our project it affected our AWS library version even though we aren't using either AWS provider.)
Would it be possible to split off providers
into its own Go module? cmd
would also need to be its own module because it depends on providers
. That way, projects consuming lego
as a library that implement their own provider or use one of the dependency-free built in providers won't end up with the 25+ provider libraries in their project.