-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
37 lines (31 loc) · 1.2 KB
/
Cargo.toml
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
[workspace]
members = [
"rust",
"python",
]
# Python package needs to be built by maturin.
exclude = ["python"]
resolver = "2"
[workspace.package]
edition = "2021"
license = "Apache-2.0"
description = "Embed anything at lightning speed"
repository = "https://github.com/StarlightSearch/EmbedAnything"
authors = ["Akshay Ballal <[email protected]>"]
exclude = ["test_files/*", "python", "*.py", "pyproject.toml", "examples/images/*", "mkdocs.yml", "docs/*", "tests/*", ".github", "Dockerfile", "docs"]
[workspace.dependencies]
pdf-extract = "0.7.7"
docx-parser = "0.1.1"
candle-nn = { git = "https://github.com/huggingface/candle.git", version = "0.8.1" }
candle-transformers = { git = "https://github.com/huggingface/candle.git", version = "0.8.1" }
candle-core = { git = "https://github.com/huggingface/candle.git", version = "0.8.1" }
candle-flash-attn = { git = "https://github.com/huggingface/candle.git", version = "0.8.1" }
ort = {version = "=2.0.0-rc.9", features = ["cuda", "load-dynamic"]}
strum = "0.26.1"
strum_macros = "0.26"
[patch.crates-io]
pdf-extract = { git = "https://github.com/jrmuizel/pdf-extract.git", rev = "refs/pull/91/head" }
[profile.dev]
rpath = true
[profile.release]
rpath = true