-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
30 lines (25 loc) · 864 Bytes
/
Cargo.toml
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
[package]
edition = "2021"
name = "nacos-sdk-rust-binding-node"
version = "0.0.1"
authors = ["CheirshCai <[email protected]>"]
license = "Apache-2.0"
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"] }
napi-derive = "2"
# version = ^0.2
nacos-sdk = { git = "https://github.com/nacos-group/nacos-sdk-rust.git"}
tracing-subscriber = "0.3"
tracing-appender = "0.2"
[build-dependencies]
napi-build = "2"
[profile.release]
lto = true