[package]
edition = "2024"
rust-version = "1.85"
name = "openclaw-node"
version = "0.1.0"
authors = ["OpenClaw Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node.js bindings for OpenClaw Rust core - AI providers, auth, events, and tools"
homepage = "https://github.com/openclaw/openclaw-rs"
documentation = "https://docs.rs/openclaw-node"
readme = "README.md"
keywords = [
"napi",
"nodejs",
"ai",
"anthropic",
"openai",
]
categories = [
"api-bindings",
"development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/openclaw/openclaw-rs"
resolver = "2"
[lib]
name = "openclaw_node"
crate-type = ["cdylib"]
path = "src/lib.rs"
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.napi]
version = "2"
features = [
"napi8",
"serde-json",
"async",
"tokio_rt",
]
default-features = false
[dependencies.napi-derive]
version = "2"
[dependencies.once_cell]
version = "1.19"
[dependencies.openclaw-agents]
version = "0.1.0"
[dependencies.openclaw-core]
version = "0.1.0"
[dependencies.openclaw-providers]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
]
[build-dependencies.napi-build]
version = "2"
[lints.clippy]
all = "warn"
nursery = "warn"
pedantic = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"