-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
74 lines (68 loc) · 1.65 KB
/
mix.exs
File metadata and controls
74 lines (68 loc) · 1.65 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
62
63
64
65
66
67
68
69
70
71
72
73
74
defmodule SimdXml.MixProject do
use Mix.Project
@version "0.1.0"
@source_url "https://github.com/simdxml/simdxml-elixir"
def project do
[
app: :simdxml,
version: @version,
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package(),
name: "SimdXml",
source_url: @source_url,
description:
"SIMD-accelerated XML parser with full XPath 1.0. " <>
"Rustler NIF wrapping simdxml for blazing fast XML processing."
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:rustler, "~> 0.37.3", runtime: false},
{:rustler_precompiled, "~> 0.9"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp package do
[
files: [
"lib",
"native/simdxml_nif/.cargo",
"native/simdxml_nif/src",
"native/simdxml_nif/Cargo.toml",
"checksum-*.exs",
"mix.exs",
"README.md",
"LICENSE"
],
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "SimdXml",
extras: [
"pages/getting-started.livemd",
"pages/query-combinators.livemd",
"pages/performance.livemd"
],
groups_for_extras: [
Guides: Path.wildcard("pages/*.livemd")
],
groups_for_modules: [
Core: [SimdXml, SimdXml.Document, SimdXml.Element],
Querying: [SimdXml.Query, SimdXml.XPath, SimdXml.Result],
"Batch & Quick": [SimdXml.Batch, SimdXml.Quick],
"Low-Level": [SimdXml.Native]
]
]
end
end