From 88c1750989282604593717b555245154266afcb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cherish=20=E8=94=A1=E6=A2=A6=E7=BC=98?= <785427346@qq.com> Date: Sat, 26 Nov 2022 12:27:45 +0800 Subject: [PATCH] chore: nacos-macro and changelog. (#73) * chore: nacos-macros and changelog. * chore: nacos-macro. --- CHANGELOG.md | 14 ++++++++++++++ Cargo.toml | 2 +- nacos-macro/Cargo.toml | 19 ++++++++++++------- 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cdbd2c6..dc0fb4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # 变更日志 | Change log +### 0.2.0 + +- Config/Naming 功能均可用 +- 登陆鉴权 username/password +- 配置解密插件 +- 底层 grpc 链接健康检测,自动重连 + +--- + +- The module of Config and naming are available +- Support Auth Plugin and with props username/password +- Config decryption Plugin +- Core grpc health detection, automatic reconnection + ### 0.1.1 - Config 模块基本可用 diff --git a/Cargo.toml b/Cargo.toml index df96d2a..ba0f174 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,7 +44,7 @@ naming = [] auth-by-http = ["reqwest"] [dependencies] -nacos_macro = { path = "nacos-macro" } +nacos-macro = { version = "0.1.0", path = "nacos-macro" } thiserror = "1.0" tokio = { version = "1.21", features = ["full"] } #tokio-stream = { version = "0.1", features = ["net"] } diff --git a/nacos-macro/Cargo.toml b/nacos-macro/Cargo.toml index 2d96788..7846fe6 100644 --- a/nacos-macro/Cargo.toml +++ b/nacos-macro/Cargo.toml @@ -1,16 +1,21 @@ [package] -name = "nacos_macro" +name = "nacos-macro" version = "0.1.0" edition = "2021" authors = ["nacos-group", "CheirshCai <785427346@qq.com>", "onewe <2583021406@qq.com>"] - +license = "Apache-2.0" +documentation = "https://docs.rs/nacos-sdk/latest" +repository = "https://github.com/nacos-group/nacos-sdk-rust" +homepage = "https://nacos.io" +description = """ +Nacos's proc macros. +""" [lib] proc-macro = true -name = "nacos_macro" [dependencies] -proc-macro2 = "1.0.29" -quote = "1.0.10" -syn = { version = "1.0.80", features = ["extra-traits","parsing"] } -darling = "0.14.0" \ No newline at end of file +proc-macro2 = "1.0.47" +quote = "1.0.21" +syn = { version = "1.0.103", features = ["extra-traits", "parsing"] } +darling = "0.14.2"