-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
59 lines (54 loc) · 1.25 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
defmodule Hardhat.MixProject do
use Mix.Project
def project do
[
app: :hardhat,
version: "1.1.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "An opinionated, production-ready HTTP client for Elixir services.",
package: package(),
docs: docs()
]
end
def application do
[
mod: {Hardhat.Application, []},
env: [
start_default_client: false
],
registered: [Hardhat.Supervisor, Hardhat, Hardhat.Sup]
]
end
defp deps do
[
{:tesla, "~> 1.7"},
{:finch, "~> 0.18"},
{:telemetry, "~> 1.2"},
{:opentelemetry_tesla, "~> 2.4"},
{:opentelemetry, "~> 1.3", only: :test},
{:opentelemetry_process_propagator, "~> 0.3"},
{:fuse, "~> 2.5"},
{:regulator, "~> 0.6"},
{:deadline, "~> 0.7"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:bypass, "~> 2.1", only: :test}
]
end
defp package do
[
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/seancribbs/hardhat"
}
]
end
defp docs do
[
main: "Hardhat",
extras: ["CHANGELOG.md"]
]
end
end