-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
55 lines (49 loc) · 1.34 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
defmodule River.Mixfile do
use Mix.Project
def project do
[
app: :river,
version: "0.0.7",
elixir: "~> 1.5",
description: description(),
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
mod: {River, []},
applications: [:logger, :ssl, :certifi]
]
end
defp deps do
[
{:hpack, "~> 1.0.2"},
{:connection, "~> 1.0.4"},
{:certifi, "~> 2.3"},
{:ssl_verify_fun, "~> 1.1"},
{:ex_doc, "~> 0.16", only: :dev},
{:earmark, "~> 1.2", only: :dev},
{:mix_test_watch, "~> 0.4", only: [:test, :dev]},
{:credo, "~> 0.8", only: [:test, :dev]},
{:benchfella, "~> 0.3", only: [:test, :dev]}
]
end
defp description do
"""
River is an http/2 (HTTP2) client for Elixir (a work in progress, though!)
"""
end
defp package do
[
name: :river,
maintainers: ["Phil Burrows"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/peburrows/river"}
]
end
end
# bad PUSH_PROMISE payload:
# <<0, 0, 0, 2, 63, 225, 31, 130, 135, 4, 144, 97, 9, 245, 65, 81, 57, 74, 148, 48, 130, 88, 82, 212, 185, 16, 143, 65, 136, 170, 105, 210, 154, 196, 185, 236, 155, 122, 136, 218, 110, 229, 177, 128, 46, 5, 195>>