Current section
Files
Jump to
Current section
Files
mix.exs
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