forked from jared-mackey/crc32c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
54 lines (49 loc) · 1.13 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
defmodule Crc32c.MixProject do
use Mix.Project
def project do
[
name: "CRC32c",
app: :crc32c,
version: "1.2.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
compilers: Mix.compilers(),
description: description(),
package: package()
]
end
def application do
[
extra_applications: []
]
end
defp deps do
[
{:rustler, "~> 0.29"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false}
]
end
defp description() do
"A CRC32c NIF implementation that uses SSE4.2 for ultimate speed."
end
defp package() do
[
name: "crc32c",
files: [
"mix.exs",
"native/crc32crust/.cargo/config",
"native/crc32crust/src",
"native/crc32crust/Cargo.toml",
"native/crc32crust/Cargo.lock",
"lib",
"LICENSE",
"README.md"
],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mackeyja92/crc32c/"}
]
end
end