2026-05-21 17:50:45 +02:00
|
|
|
[package]
|
|
|
|
|
name = "wickra-node"
|
|
|
|
|
description = "Node.js bindings for the Wickra streaming-first technical indicators library."
|
|
|
|
|
version.workspace = true
|
|
|
|
|
authors.workspace = true
|
|
|
|
|
edition.workspace = true
|
2026-05-23 20:22:35 +02:00
|
|
|
# napi-build 2.3.2 requires Rust >= 1.88 (newer than the workspace 1.80
|
|
|
|
|
# minimum, which itself was lifted to satisfy rayon-core 1.13.0). napi-build
|
|
|
|
|
# also emits `cargo::` directives that require >= 1.77 — that older floor is
|
|
|
|
|
# subsumed by the 1.88 requirement now.
|
|
|
|
|
rust-version = "1.88"
|
2026-06-03 18:49:39 +02:00
|
|
|
license.workspace = true
|
2026-05-21 17:50:45 +02:00
|
|
|
repository.workspace = true
|
|
|
|
|
homepage.workspace = true
|
|
|
|
|
readme.workspace = true
|
|
|
|
|
keywords.workspace = true
|
|
|
|
|
categories.workspace = true
|
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
2026-06-28 00:45:38 +02:00
|
|
|
# Mirrors [workspace.lints] (the source of truth) EXCEPT `unsafe_code`, which is
|
|
|
|
|
# relaxed from the workspace `forbid` to `deny`: the napi-rs 3 derive macros emit
|
|
|
|
|
# `#[allow(unsafe_code)]`, which `forbid` cannot permit. `deny` still fails the
|
|
|
|
|
# build on any unguarded unsafe in our own code. Keep this list in sync with the
|
|
|
|
|
# workspace if its lints change.
|
|
|
|
|
[lints.rust]
|
|
|
|
|
unsafe_code = "deny"
|
|
|
|
|
missing_debug_implementations = "warn"
|
|
|
|
|
unreachable_pub = "warn"
|
|
|
|
|
unused_must_use = "deny"
|
|
|
|
|
|
|
|
|
|
[lints.clippy]
|
|
|
|
|
all = { level = "warn", priority = -1 }
|
|
|
|
|
pedantic = { level = "warn", priority = -1 }
|
|
|
|
|
module_name_repetitions = "allow"
|
|
|
|
|
must_use_candidate = "allow"
|
|
|
|
|
missing_errors_doc = "allow"
|
|
|
|
|
missing_panics_doc = "allow"
|
|
|
|
|
cast_precision_loss = "allow"
|
|
|
|
|
cast_possible_truncation = "allow"
|
|
|
|
|
cast_sign_loss = "allow"
|
|
|
|
|
similar_names = "allow"
|
|
|
|
|
float_cmp = "allow"
|
2026-05-21 17:50:45 +02:00
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
wickra-core = { workspace = true }
|
2026-06-16 02:01:37 +02:00
|
|
|
wickra-data = { workspace = true, features = ["live-binance"] }
|
2026-06-28 00:45:38 +02:00
|
|
|
napi = { version = "3.9", features = ["napi8"] }
|
|
|
|
|
napi-derive = "3.5"
|
2026-06-16 02:01:37 +02:00
|
|
|
# Drives the async Binance feed behind the blocking poll.
|
|
|
|
|
tokio = { version = "1", features = ["rt", "net", "time"] }
|
2026-05-21 17:50:45 +02:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
|
napi-build = "2"
|