-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
59 lines (51 loc) · 1.36 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
57
58
59
defmodule DynamicRtree.MixProject do
use Mix.Project
def project do
[
app: :ddrt,
version: "0.2.1",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
source_url: "https://github.com/windfish-studio/ddrt",
description: description(),
package: package(),
docs: [
main: "readme",
extras: ["README.md"]
]
]
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
[
{:uuid, "~> 1.1"},
{:jason, "~> 1.0"},
{:benchee, "~> 1.0", only: :dev},
{:earmark, "~> 1.2", only: :dev},
{:ex_doc, "~> 0.19", only: :dev},
{:dialyxir, "~> 0.4", only: :dev},
{:merkle_map, "~> 0.2.0"},
{:delta_crdt, "~> 0.5.0"}
]
end
defp package() do
[
licenses: ["GPL 3.0"],
links: %{"GitHub" => "https://github.com/windfish-studio/ddrt"}
]
end
def description do
"Distributed Dynamic R-tree (DDRT) implementation for Elixir.
It's mainly a R-tree.
Why dynamic? Because it's optimized to do fast updates at the tree leaves spatial index.
Why distributed? Well.. you can run the DDRT on different nodes and they will have the same r-tree data.
"
end
end