From 791fbaa751d3e3a58951b1a7ed428bbfb231226f Mon Sep 17 00:00:00 2001 From: CherishCai <785427346@qq.com> Date: Fri, 16 Jun 2023 22:31:44 +0800 Subject: [PATCH] Bump: nacos-sdk-rust=0.3.0 --- Cargo.toml | 4 ++-- README.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d6b9870..b8f1b97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,8 +18,8 @@ crate-type = ["cdylib"] napi = { version = "2", default-features = false, features = ["napi4", "async"] } napi-derive = "2" -#nacos-sdk = { version = "0.3.0-beta", features = ["async"] } -nacos-sdk = { git = "https://github.com/nacos-group/nacos-sdk-rust.git", branch = "try_naming_span_exlude_service_name", features = ["async"] } +nacos-sdk = { version = "0.3.0", features = ["async"] } +#nacos-sdk = { git = "https://github.com/nacos-group/nacos-sdk-rust.git", branch = "main", features = ["async"] } tracing-subscriber = { version = "0.3", features = ["default"] } #tracing-subscriber = { version = "0.3", features = ["env-filter", "local-time"] } # occur `` diff --git a/README.md b/README.md index 37cf843..70f86e4 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Tip: nacos-sdk-nodejs 仓库暂未提供 2.x gRPC 交互模式,为了能升级 # Usage **使用样例请看仓库内的 example 目录,完整 api 请看 index.d.ts** +环境变量 `NACOS_CLIENT_LOGGER_LEVEL=INFO` 可设置日志打印级别,默认 INFO +- 客户端日志请在目录 $HOME/logs/nacos/ 查看 + npm 包 -> https://www.npmjs.com/package/nacos-sdk-rust-binding-node # License