forked from elixir-nx/safetensors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
49 lines (43 loc) · 895 Bytes
/
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
defmodule Safetensors.MixProject do
use Mix.Project
@version "0.1.3"
@description "Safetensors implementation for Nx"
def project do
[
app: :safetensors,
version: @version,
description: @description,
name: "Safetensors",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package()
]
end
def application do
[]
end
defp deps do
[
{:jason, "~> 1.4"},
{:nx, "~> 0.5"},
{:ex_doc, "~> 0.30.3", only: :dev, runtime: false}
]
end
defp docs do
[
main: "Safetensors",
source_url: "https://github.com/elixir-nx/safetensors",
source_ref: "v#{@version}"
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/elixir-nx/safetensors"
}
]
end
end