An Elixir implementation of AT Protocol-flavoured Merkle Search Trees (MST)
1defmodule MST.MixProject do
2 use Mix.Project
3
4 @version "0.1.0"
5 @github "https://github.com/cometsh/elixir-mst"
6 @tangled "https://tangled.org/@comet.sh/elixir-mst"
7
8 def project do
9 [
10 app: :mst,
11 version: @version,
12 elixir: "~> 1.18",
13 start_permanent: Mix.env() == :prod,
14 deps: deps(),
15 name: "mst",
16 description: "An Elixir implementation of AT Protocol-flavoured Merkle Search Trees (MST)",
17 package: package(),
18 docs: docs()
19 ]
20 end
21
22 # Run "mix help compile.app" to learn about applications.
23 def application do
24 [
25 extra_applications: [:logger]
26 ]
27 end
28
29 # Run "mix help deps" to learn about dependencies.
30 defp deps do
31 [
32 {:dasl, "~> 0.1.0"},
33 {:typedstruct, "~> 0.5"},
34 {:ex_doc, "~> 0.34", only: :dev, runtime: false},
35 {:credo, "~> 1.7", only: [:dev, :test], runtime: false}
36 ]
37 end
38
39 defp package do
40 [
41 licenses: ["MIT"],
42 links: %{"GitHub" => @github, "Tangled" => @tangled}
43 ]
44 end
45
46 defp docs do
47 [
48 extras: [
49 "README.md": [title: "Overview"],
50 "CHANGELOG.md": [title: "Changelog"]
51 ],
52 main: "readme",
53 source_url: @github,
54 source_ref: "v#{@version}",
55 formatters: ["html"]
56 ]
57 end
58end