-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
32 lines (26 loc) · 1.03 KB
/
Cargo.toml
File metadata and controls
32 lines (26 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[package]
name = "nacos-sdk-rust-binding-node"
version = "0.8.0"
edition = "2024"
license = "Apache-2.0"
publish = false
authors = ["CheirshCai <785427346@qq.com>"]
readme = "README.md"
repository = "https://github.com/opc-source/nacos-sdk-rust-binding-node"
description = "nacos-sdk-rust binding for NodeJs with napi."
categories = ["network-programming", "development-tools"]
keywords = ["nacos", "ffi", "napi", "bingding", "nodejs"]
[lib]
crate-type = ["cdylib"]
[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2", default-features = false, features = ["napi4", "async"] }
napi-derive = "2"
nacos-sdk = { version = "0.8.0", features = ["default", "auth-by-aliyun", "tracing-log"] }
#nacos-sdk = { git = "https://github.com/nacos-group/nacos-sdk-rust.git", branch = "main", features = ["default", "auth-by-aliyun", "tracing-log"] }
async-trait = "0.1"
tokio = { version = "1", features = ["rt"] }
[build-dependencies]
napi-build = "2"
[profile.release]
lto = true