Current section

Files

Jump to
hardhat mix.exs
Raw

mix.exs

defmodule Hardhat.MixProject do
use Mix.Project
def project do
[
app: :hardhat,
version: "1.0.1",
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.16.0"},
{:telemetry, "~> 1.2"},
{:opentelemetry_tesla, "~> 2.3.0"},
{:opentelemetry, "~> 1.3", only: :test},
{:opentelemetry_process_propagator, "~> 0.2.2"},
{:fuse, "~> 2.5"},
{:regulator, "~> 0.6.0"},
{:deadline, "~> 0.7.1"},
{:ex_doc, "~> 0.30.6", only: :dev, runtime: false},
{:dialyxir, "~> 1.4.0", only: :dev, runtime: false},
{:bypass, "~> 2.1.0", 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