mirror of
https://github.com/lancedb/lancedb.git
synced 2025-12-26 06:39:57 +00:00
this bumps napi version to 2.16 which contains a few bug fixes. Additionally, it adds `catch_unwind` to any method that may unintentionally panic. `catch_unwind` will unwind the panics and return a regular JS error instead of panicking.
29 lines
629 B
TOML
29 lines
629 B
TOML
[package]
|
|
name = "lancedb-nodejs"
|
|
edition.workspace = true
|
|
version = "0.0.0"
|
|
license.workspace = true
|
|
description.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
arrow-ipc.workspace = true
|
|
futures.workspace = true
|
|
lancedb = { path = "../rust/lancedb" }
|
|
napi = { version = "2.16.8", default-features = false, features = [
|
|
"napi9",
|
|
"async",
|
|
] }
|
|
napi-derive = "2.16.4"
|
|
|
|
# Prevent dynamic linking of lzma, which comes from datafusion
|
|
lzma-sys = { version = "*", features = ["static"] }
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.1"
|