-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
63 lines (57 loc) · 1.63 KB
/
Copy pathmix.exs
File metadata and controls
63 lines (57 loc) · 1.63 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
defmodule ExFastembed.MixProject do
use Mix.Project
@version "0.1.0"
def project do
[
app: :ex_fastembed,
name: "ExFastembed",
version: @version,
elixir: "~> 1.18",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
docs: [
main: "readme",
extras: [
"README.md",
"LICENSE"
]
],
source_url: "https://github.com/elchemista/ex_fastembed",
homepage_url: "https://github.com/elchemista/ex_fastembed"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: []
]
end
defp description() do
"ExFastembed is an Elixir wrapper around the fastembed-rs crate. It provides a simple interface to load and run various text embedding models and reranker models."
end
defp package() do
[
name: "ex_fastembed",
maintainers: ["Yuriy Zhar"],
files: ~w(mix.exs README.md lib native test LICENSE checksum-*.exs .formatter.exs),
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/elchemista/ex_fastembed"
}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:rustler, "~> 0.38.0"},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
# {:rustler_precompiled, "~> 0.8"},
# Documentation Provider
{:ex_doc, "~> 0.40.3", only: [:dev, :test], optional: true, runtime: false}
]
end
end