Current section
Files
Jump to
Current section
Files
auth_plug_introduct
mix.exs
mix.exs
defmodule AuthPlugIntroduct.MixProject do
use Mix.Project
def project do
[
app: :auth_plug_introduct,
version: "0.2.1",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
description:
"Simple Plug for verifying signed requests and authenticating users by public key.",
package: package(),
source_url: "https://gitlab.introduct.dev/academy/auth-plug"
]
end
def application do
[
extra_applications: [:logger, :public_key]
]
end
defp deps do
[
{:ecto, "~> 3.11", optional: true},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}, # TODO: add docs
{:plug, "~> 1.14"},
{:jason, "~> 1.4"},
{:meck, "~> 0.9.2", only: :test}
]
end
defp package do
[
name: "auth_plug_introduct",
licenses: ["MIT"],
links: %{"GitLab" => "https://gitlab.introduct.dev/academy/auth-plug"},
maintainers: ["Andrew S. Peshekhonov"],
files: ~w(lib mix.exs README.md LICENSE)
]
end
end