Mix.exs :runtime to false option for deps - should I care?

When should I use the runtime: false option in deps/0?

Is it relevant only for “main” applications or should library authors care about this option as well?

For example, what is the difference between:
{:dialyxir, "~> 0.5", only: :dev}
and:
{:dialyxir, "~> 0.5", only: :dev, runtime: false}

Have a look at this StackOverflow post.

1 Like