[package]
name = "iota-sdk-nodejs"
version = "0.1.0"
authors = ["IOTA Stiftung"]
edition = "2021"
description = "Node.js bindings for the IOTA SDK library"
documentation = "https://wiki.iota.org/sdk/welcome"
homepage = "https://www.iota.org/"
repository = "https://github.com/iotaledger/iota-sdk"
license = "Apache-2.0"
keywords = ["iota", "client", "wallet", "transaction", "nodejs"]
categories = ["cryptography::cryptocurrencies"]
exclude = ["index.node"]
publish = false

[lib]
crate-type = ["cdylib"]
doc = false

[dependencies]
iota-sdk-bindings-core = { git = "https://github.com/iotaledger/iota-sdk", rev = "1ca5988274aaa0b2f9777866dcdf34c375d6de1a", default-features = false, features = [
    "events",
    "ledger_nano",
    "storage",
    "stronghold",
    "participation",
    "rocksdb",
    "mqtt",
    "private_key_secret_manager",
] }

log = { version = "0.4.20", default-features = false }
neon = { version = "0.10.1", default-features = false, features = [
    "napi-6",
    "event-queue-api",
    "promise-api",
] }
once_cell = { version = "1.19.0", default-features = false }
serde_json = { version = "1.0.113", default-features = false }
tokio = { version = "1.44.2", default-features = false }

[profile.production]
codegen-units = 1
inherits = "release"
lto = true
strip = "symbols"
