On mix.exs
you can declare dependencies like:
def deps do
[{:plug, "~> 1.0"}]
end
Why does it need to have "~>" instead of simply the version on the second part of the tuple.
I have seen that if it gets the dependency from git, you can write the dependency like:
def deps do
[{:plug, git: "git://github.com/elixir-lang/plug.git"}]
end