-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
61 lines (51 loc) · 1.43 KB
/
mix.exs
File metadata and controls
61 lines (51 loc) · 1.43 KB
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
60
61
defmodule HttpCapabilityGateway.MixProject do
use Mix.Project
def project do
[
app: :http_capability_gateway,
version: "0.1.0-dev",
elixir: "~> 1.19",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Documentation
name: "HTTP Capability Gateway",
source_url: "https://github.com/hyperpolymath/http-capability-gateway",
homepage_url: "https://github.com/hyperpolymath/http-capability-gateway",
docs: [
main: "readme",
extras: ["README.md", "CONTRIBUTING.md", "SECURITY.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {HttpCapabilityGateway.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# HTTP Server
{:plug_cowboy, "~> 2.7"},
{:plug, "~> 1.15"},
# JSON/YAML parsing
{:jason, "~> 1.4"},
{:yaml_elixir, "~> 2.11"},
# JSON Schema validation
{:ex_json_schema, "~> 0.10"},
# HTTP client for backend proxy
{:req, "~> 0.5"},
# Observability
{:telemetry, "~> 1.2"},
{:telemetry_metrics, "~> 1.0"},
{:telemetry_poller, "~> 1.1"},
{:prometheus_telemetry, "~> 0.4"},
# Testing
{:stream_data, "~> 1.0", only: :test},
# Documentation
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
end