Files
zen/bindings/nodejs/Cargo.toml
stefan-gorules 46688a4d4c feat: configurable arbitrary precision (#433)
* feat: configurable arbitrary precision

* fix workflow

* fix workflow

* set version of docker run action to v1

* set arbitrary_precision as opt-in

* revert making arbitrary_precision non-default

* update cargo version action and add features in Cargo.toml for deps

* add tests for arbitrary precision and make it non default. add warnings for compilation when arbitrary precision not enabled

* simplify conversion

* remove build.rs
2026-03-03 16:57:22 +01:00

28 lines
828 B
TOML

[package]
name = "zen-nodejs"
version = "0.1.0"
edition = "2021"
license = "MIT"
publish = false
[lib]
crate-type = ["cdylib"]
[dependencies]
ahash = { workspace = true }
napi = { version = "3", features = ["serde-json", "error_anyhow", "tokio_rt"] }
napi-sys = "3"
napi-derive = "3"
tokio-util = { workspace = true, features = ["rt"] }
serde_json = { workspace = true }
zen-engine = { path = "../../core/engine", features = ["arbitrary_precision"] }
zen-expression = { path = "../../core/expression", features = ["arbitrary_precision"] }
zen-tmpl = { path = "../../core/template" }
serde = { workspace = true, features = ["derive"] }
json_dotpath = { workspace = true }
[target.'cfg(target_family = "wasm")'.dependencies]
iana-time-zone = { version = "0.1", features = ["fallback"] }
[build-dependencies]
napi-build = "2.3"