-
Notifications
You must be signed in to change notification settings - Fork 10
/
mix.exs
56 lines (51 loc) · 1.22 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
defmodule Siwe.MixProject do
use Mix.Project
# TODO: Add :links to docs!
# TODO: Add :source_url to github!
# TODO: Add :homepage_url to devportal!
def project do
[
app: :siwe,
description: description(),
version: "0.5.0",
organization: "Spruce Systems Inc",
package: package(),
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:rustler, "~> 0.22.2"},
# NOTE: For M1 compat:
# {:rustler, git: "https://github.com/rusterlium/rustler.git", sparse: "rustler_mix"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"Elixir library to parse and validate Sign In with Ethereum Messages"
end
defp package() do
[
files: [
"mix.exs",
"native/siwe_ex/src",
"native/siwe_ex/Cargo.toml",
"lib",
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md"
],
licenses: ["MIT", "Apache-2.0"],
links: %{}
]
end
end