-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathCargo.toml
More file actions
54 lines (47 loc) · 1.55 KB
/
Copy pathCargo.toml
File metadata and controls
54 lines (47 loc) · 1.55 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
50
51
52
53
54
[package]
authors = ["Ash Vardanian <1983160+ashvardanian@users.noreply.github.com>"]
categories = [
"mathematics",
"hardware-support",
"no-std",
"wasm",
"external-ffi-bindings",
]
description = "Portable mixed-precision math, linear-algebra, & retrieval library with 2000+ SIMD kernels for x86, Arm, RISC-V, LoongArch, Power, & WebAssembly"
documentation = "https://docs.rs/numkong"
edition = "2021"
homepage = "https://ashvardanian.com/posts/numkong-faster-scipy"
include = ["rust/*.rs", "c/*.c", "c/*.h", "include/**/*.h", "probes/*.c", "build.rs"]
keywords = ["simd", "search", "linear-algebra", "vector"]
license = "Apache-2.0"
links = "numkong"
name = "numkong"
readme = "rust/README.md"
repository = "https://github.com/ashvardanian/NumKong"
rust-version = "1.64" # Introduced Core C FFI in stable Rust
version = "7.8.0"
[lib]
name = "numkong"
path = "rust/numkong.rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[build-dependencies]
cc = "1.2.36"
[profile.bench]
codegen-units = 1 # May increase compilation time but optimizes further
lto = true # Enables Link Time Optimization for further optimizations
opt-level = 3 # Corresponds to -O3
rpath = false # On some systems, setting this to false can help with optimizations
[features]
default = []
parallel = ["dep:fork_union", "std"]
std = []
wasm-runtime = []
[dependencies]
fork_union = {version = "2.3", optional = true}
[dev-dependencies]
half = {version = "2.6.0"}
rand = {version = "0.10.0"}
wasmtime = {version = "43.0"}
wasmtime-wasi = {version = "43.0"}