-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
41 lines (36 loc) · 867 Bytes
/
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
defmodule RateLimiter.MixProject do
use Mix.Project
def project do
[
app: :rate_limiter,
version: "0.4.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps()
]
end
def application do
[
mod: {RateLimiter.Application, []}
]
end
defp deps do
[
{:stream_data, "~> 0.6", only: [:dev, :test]},
{:benchee, "~> 1.3", only: :dev},
{:ex_doc, "~> 0.31", only: :dev, runtime: false}
]
end
defp description() do
"A high performance rate limiter on top of erlang atomics for Elixir"
end
defp package() do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", ".formatter.exs"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/farhadi/rate_limiter"}
]
end
end