[package]
edition = "2024"
rust-version = "1.88"
name = "eqts"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "One Rust API for TypeScript across native JavaScript runtimes"
readme = false
license = "ISC"
repository = "https://github.com/tschk/eqts"
resolver = "2"
[features]
bun = []
default = ["node-napi"]
deno = []
node-koffi = []
node-napi = [
"dep:napi",
"dep:napi-derive",
]
wasm = [
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:serde-wasm-bindgen",
"dep:js-sys",
]
[lib]
name = "eqts"
path = "src/lib.rs"
[[test]]
name = "bigint"
path = "tests/bigint.rs"
[[test]]
name = "export"
path = "tests/export.rs"
[[test]]
name = "owned"
path = "tests/owned.rs"
[[test]]
name = "reactive"
path = "tests/reactive.rs"
[dependencies.eqts-macros]
version = "0.2.0"
[dependencies.futures]
version = "0.3"
features = ["executor"]
[dependencies.inventory]
version = "0.3"
[dependencies.js-sys]
version = "0.3"
optional = true
[dependencies.napi]
version = "=3.12.1"
features = [
"napi6",
"serde-json",
]
optional = true
default-features = false
[dependencies.napi-derive]
version = "=3.6.3"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true
[dependencies.serde_json]
version = "1"
[dependencies.wasm-bindgen]
version = "=0.2.121"
optional = true
[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true
[lints.clippy.all]
level = "deny"
priority = 10
[lints.clippy.pedantic]
level = "warn"
priority = 5
[lints.rust]
future-incompatible = "warn"
nonstandard-style = "deny"