-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
45 lines (40 loc) · 911 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
defmodule Pgvector.MixProject do
use Mix.Project
@version "0.3.0"
def project do
[
app: :pgvector,
version: @version,
elixir: "~> 1.13",
deps: deps(),
docs: docs(),
package: package(),
name: "pgvector",
description: "pgvector support for Elixir",
source_url: "https://github.com/pgvector/pgvector-elixir"
]
end
defp deps do
[
{:postgrex, ">= 0.0.0"},
{:ecto, "~> 3.0", optional: true},
{:nx, "~> 0.5", optional: true},
{:ecto_sql, "~> 3.0", only: :test},
{:ex_doc, "~> 0.14", only: :dev, runtime: false}
]
end
defp docs do
[
api_reference: false,
extras: ["README.md"],
main: "readme",
source_ref: "v#{@version}"
]
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/pgvector/pgvector-elixir"}
]
end
end