mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-24 19:44:21 +01:00
This rewrites the JavaScript bindings completely by exposing only primitive operations from Rust NAPI-RS code. For example, there is prepare(), bind(), and step(), but high level interfaces like all() and get() are implemented in JavaScript. We're doing this so that we can implement async interfaces in the JavaScript layer instead of having to bring in Tokio.
21 lines
548 B
TOML
21 lines
548 B
TOML
[package]
|
|
name = "turso_node"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "The Turso database library Node bindings"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
turso_core = { workspace = true }
|
|
napi = { version = "3.1.3", default-features = false, features = ["napi6"] }
|
|
napi-derive = { version = "3.1.1", default-features = true }
|
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
|
|
|
[build-dependencies]
|
|
napi-build = "2.2.3"
|