Packages

Argon2 password hashing algorithm for Elixir, fast fixed for windows for a school project

Current section

Files

Jump to

mix.exs

defmodule Argon2.Mixfile do
use Mix.Project
@source_url "https://github.com/Pebloop/argon2_elixir_winfix"
@version "4.0.0"
@description "Argon2 password hashing algorithm for Elixir, fast fixed for windows for a school project"
def project do
[
app: :argon2_elixir_winfix,
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
compilers: [:elixir_make] ++ Mix.compilers(),
make_targets: ["all"],
make_clean: ["clean"],
description: @description,
package: package(),
deps: deps(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
]
end
def application do
[
extra_applications: [:logger, :crypto]
]
end
defp deps do
[
{:comeonin, "~> 5.3"},
{:elixir_make_winfix, "~> 0.7", runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.3", only: :dev, runtime: false}
]
end
defp package do
[
files: [
"lib",
"c_src",
"argon2/include",
"argon2/src",
"mix.exs",
"Makefile*",
"README.md",
"LICENSE.md",
"CHANGELOG.md"
],
maintainers: ["David Whitlock"],
licenses: ["Apache-2.0"],
links: %{
"Changelog" => "https://hexdocs.pm/argon2_elixir/changelog.html",
"GitHub" => @source_url
}
]
end
end