generated from habedi/template-rust-project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
60 lines (52 loc) · 1.3 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "vq"
version = "0.1.3"
description = "A vector quantization library for Rust"
repository = "https://github.com/habedi/vq"
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["vector-quantization", "quantization", "nearest-neighbor", "data-compression", "embeddings"]
authors = ["Hassan Abedi <[email protected]>"]
homepage = "https://github.com/habedi/vq"
documentation = "https://docs.rs/vq"
categories = ["algorithms", "compression", "data-structures"]
edition = "2021"
rust-version = "1.83"
include = [
"src/*",
"Cargo.toml",
"README.md",
"LICENSE-MIT",
"LICENSE-APACHE"
]
[lib]
name = "vq"
path = "src/lib.rs"
[features]
default = [] # No features enabled by default
binaries = []
[[bin]]
name = "eval"
path = "src/bin/eval.rs"
required-features = ["binaries"]
[[bin]]
name = "vq-examples"
path = "src/bin/vq_examples.rs"
required-features = ["binaries"]
[dependencies]
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
ctor = "0.2.9"
rand = "0.9.0"
half = "2.4.1"
nalgebra = "0.33.2"
rayon = "1.10"
anyhow = "1.0.95"
rand_distr = "0.5.0"
serde = { version = "1.0.217", features = ["derive"] }
clap = { version = "4.5.29", features = ["derive"] }
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "main"
harness = false