forked from ashvardanian/SimSIMD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
49 lines (41 loc) · 1.25 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
[package]
name = "simsimd"
description = "Fastest SIMD-Accelerated Vector Similarity Functions for x86 and Arm"
version = "5.4.2"
edition = "2021"
license = "Apache-2.0"
authors = ["Ash Vardanian <[email protected]>"]
repository = "https://github.com/ashvardanian/SimSIMD"
documentation = "https://docs.rs/simsimd"
homepage = "https://ashvardanian.com/posts/simsimd-faster-scipy"
keywords = ["simd", "search", "linear-algebra", "vector"]
categories = [
"mathematics",
"hardware-support",
"no-std",
"wasm",
"external-ffi-bindings",
]
include = ["/rust/**", "/c/**", "/include/**", "/build.rs"]
[lib]
name = "simsimd"
path = "rust/lib.rs"
[build-dependencies]
cc = "1.0.83"
[[bench]]
name = "cosine"
harness = false
path = "rust/benches/cosine.rs"
[[bench]]
name = "sqeuclidean"
harness = false
path = "rust/benches/sqeuclidean.rs"
[profile.bench]
opt-level = 3 # Corresponds to -O3
lto = true # Enables Link Time Optimization for further optimizations
codegen-units = 1 # May increase compilation time but optimizes further
rpath = false # On some systems, setting this to false can help with optimizations
[dev-dependencies]
criterion = { version = "0.5.1" }
rand = { version = "0.8.5" }
half = { version = "2.4.0" }