polysig-node-bindings 0.8.0

Nodejs bindings for the polysig library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "polysig-node-bindings"
version = "0.8.0"
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nodejs bindings for the polysig library"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/polysig/polysig"

[lib]
name = "polysig_node_bindings"
crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.napi]
version = "3.0.0-alpha.16"
features = [
    "anyhow",
    "serde-json",
    "napi9",
]

[dependencies.napi-derive]
version = "3.0.0-alpha.15"

[dependencies.polysig-client]
version = "0.8"

[dependencies.polysig-driver]
version = "0.8"

[dependencies.polysig-protocol]
version = "0.8"
features = ["zlib"]

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "macros",
    "time",
]
optional = true

[build-dependencies.napi-build]
version = "1"

[features]
cggmp = [
    "polysig-client/cggmp",
    "polysig-driver/cggmp",
    "dep:tokio",
    "napi/async",
    "napi/tokio",
    "napi/tokio_rt",
    "serde",
]
default = ["full"]
ecdsa = ["polysig-driver/ecdsa"]
eddsa = ["polysig-driver/eddsa"]
frost-ed25519 = [
    "polysig-driver/frost-ed25519",
    "polysig-client/frost-ed25519",
    "dep:tokio",
    "napi/async",
    "napi/tokio",
    "napi/tokio_rt",
    "serde",
]
full = [
    "signers",
    "protocols",
]
protocols = [
    "cggmp",
    "frost-ed25519",
]
schnorr = ["polysig-driver/schnorr"]
signers = [
    "ecdsa",
    "eddsa",
    "schnorr",
]