Current section
Files
Jump to
Current section
Files
apiac_filter_throttler
mix.exs
mix.exs
defmodule APIacFilterThrottler.MixProject do
use Mix.Project
def project do
[
app: :apiac_filter_throttler,
description: "APIac Elixir plug for throttling / rate limiting",
version: "1.0.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: [
main: "readme",
extras: ["README.md"]
],
package: package(),
source_url: "https://github.com/tanguilp/apiac_filter_throttler"
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:plug, "~> 1.0"},
{:apiac, "~> 1.0"},
{:hammer, "~> 6.0"},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
def package() do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/tanguilp/apiac_filter_throttler"}
]
end
end