-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
44 lines (40 loc) · 1.05 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
defmodule RateLimiting.MixProject do
use Mix.Project
def project do
[
app: :rate_limiting,
version: "0.1.4",
name: "rate_limiting",
source_url: "https://github.com/lenfree/rate_limiting",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
description: "A simple rate limiting application based on source ip address.",
deps: deps(),
package: package()
]
end
defp package do
[
maintainers: ["Lenfree Yeung"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/lenfree/rate_limiting"}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :timex],
mod: {RateLimiting.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:timex, "~> 3.5"},
{:ex_doc, "~> 0.19", only: :dev},
{:earmark, "~> 1.3", only: :dev},
{:memento, git: "https://github.com/sheharyarn/memento"},
{:libcluster, "~> 3.0"}
]
end
end