-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (48 loc) · 979 Bytes
/
Cargo.toml
File metadata and controls
63 lines (48 loc) · 979 Bytes
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
[package]
name = "git-embed"
version = "0.1.0"
edition = "2021"
description = "Semantic similarity search for git repositories"
license = "MIT"
[dependencies]
# CLI
clap = { version = "4", features = ["derive"] }
# Git
git2 = "0.19"
# ML - ONNX Runtime
ort = { version = "2.0.0-rc.11", features = ["download-binaries", "ndarray"] }
ndarray = "0.17"
# Tokenizer (HuggingFace native Rust)
tokenizers = { version = "0.21", features = ["http"] }
# HTTP for model download
ureq = "2"
# Progress + output
indicatif = "0.17"
# Error handling
anyhow = "1"
# Logging
log = "0.4"
# Misc
byteorder = "1"
[dev-dependencies]
tempfile = "3"
criterion = { version = "0.5", features = ["html_reports"] }
rand = "0.8"
dhat = "0.3"
[[bench]]
name = "index_serde"
harness = false
[[bench]]
name = "search"
harness = false
[[bench]]
name = "inference"
harness = false
[[bench]]
name = "memory"
harness = false
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true