Packages

A Plug for integrating Snarkey ZKP authentication into Phoenix (or Plug-based) apps

Current section

Files

Jump to
Raw

mix.exs

defmodule SnarkeyPlug.MixProject do
use Mix.Project
def project do
[
app: :snarkey_plug,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
description:
"A Plug for integrating Snarkey ZKP authentication into Phoenix (or Plug-based) apps",
package: package(),
source_url: "https://github.com/mwmiller/snarkey_plug",
docs: docs(),
deps: deps()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:snarkey, "~> 0.1.0"},
{:plug, "~> 1.16"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
maintainers: ["Matt Miller"],
links: %{"GitHub" => "https://github.com/mwmiller/snarkey_plug"},
files: ~w(lib mix.exs LICENSE)
]
end
defp docs do
[
main: "Snarkey.Plug",
extras: ["README.md"]
]
end
end