danielberkompas/ex_twilio

Drop using `Mix.Utils` in runtime.

KamilLelonek opened this issue · 2 comments

Right now Mix.Utils module is being used in two places:

Mix is a build tool that isn't meant to be used in a runtime, but only for compilation purposes.

When building a production release of a project that uses ex_twillio developers are forced to add

defp apps do
  [
    :logger,
    :ex_twilio,
    :mix,
  ]
end

which should not happen.

Good point. I'll need to create camelize and underscore functions, or else drop in a dependency to provide those.

This has been fixed, and the fix is included in the new 0.1.3 release.