forked from ashvardanian/NumKong
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (41 loc) · 1.25 KB
/
Cargo.toml
File metadata and controls
49 lines (41 loc) · 1.25 KB
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 = "Portable mixed-precision BLAS-like vector math library for x86 and ARM"
version = "6.5.15"
edition = "2021"
license = "Apache-2.0"
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
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",
]
rust-version = "1.64" # Introduced Core C FFI in stable Rust
include = ["rust/**", "c/**", "include/**", "build.rs"]
[lib]
name = "simsimd"
path = "rust/lib.rs"
[build-dependencies]
cc = "1.2.36"
[[bench]]
name = "bench"
harness = false
path = "scripts/bench.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
[features]
default = []
std = []
[dev-dependencies]
criterion = { version = "0.7.0" }
rand = { version = "0.9.1" }
half = { version = "2.6.0" }