# 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"
rust-version = "1.77"
name = "ruvector-tiny-dancer-node"
version = "0.1.2"
authors = ["Ruvector Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node.js bindings for Tiny Dancer neural routing via NAPI-RS"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ruvnet/ruvector"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.napi]
version = "2.16"
features = [
    "napi9",
    "async",
    "tokio_rt",
]
default-features = false

[dependencies.napi-derive]
version = "2.16"

[dependencies.parking_lot]
version = "0.12"

[dependencies.ruvector-tiny-dancer-core]
version = "0.1.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = [
    "rt-multi-thread",
    "sync",
    "macros",
]

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

[profile.release]
lto = true
strip = true
