-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
50 lines (43 loc) · 1.04 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
[workspace]
members = ["crates/*"]
[workspace.package]
version = "0.2.1"
edition = "2021"
description = "A Rust implementation of the RaBitQ vector search algorithm."
license = "AGPL-3.0"
authors = ["Keming <[email protected]>"]
[workspace.dependencies]
log = "0.4"
faer = "0.19"
# root package
[package]
name = "rabitq"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
documentation = "https://docs.rs/rabitq"
repository = "https://github.com/kemingy/rabitq"
keywords = ["vector-search", "quantization", "binary-dot-product"]
categories = ["algorithms", "science"]
description.workspace = true
[dependencies]
faer = { workspace = true }
log = { workspace = true }
num-traits = "0.2"
rand = "0.8"
rand_distr = "0.4.3"
serde = "1"
serde_json = "1"
[profile.dev.package.faer]
opt-level = 3
[profile.release]
codegen-units = 1
lto = "fat"
panic = "abort"
[profile.perf]
inherits = "release"
debug = true
lto = false
codegen-units = 1 # this is important when `cli` is in another crates
panic = "unwind"