38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "ruvector-math-wasm"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
description = "WebAssembly bindings for ruvector-math: Optimal Transport, Information Geometry, Product Manifolds"
|
|
keywords = ["wasm", "wasserstein", "vector-search", "optimal-transport"]
|
|
categories = ["wasm", "mathematics"]
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["console_error_panic_hook"]
|
|
parallel = ["rayon", "wasm-bindgen-rayon"]
|
|
|
|
[dependencies]
|
|
ruvector-math = { path = "../ruvector-math" }
|
|
wasm-bindgen = { workspace = true }
|
|
js-sys = { workspace = true }
|
|
web-sys = { workspace = true }
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde-wasm-bindgen = "0.6"
|
|
console_error_panic_hook = { version = "0.1", optional = true }
|
|
rayon = { workspace = true, optional = true }
|
|
wasm-bindgen-rayon = { version = "1.2", optional = true }
|
|
|
|
[package.metadata.wasm-pack.profile.release]
|
|
wasm-opt = false
|
|
|
|
[dev-dependencies]
|
|
wasm-bindgen-test = "0.3"
|