[package]
name = "nacos-sdk"
version = "0.4.1"
edition = "2021"
authors = ["nacos-group", "CheirshCai <785427346@qq.com>", "onewe <2583021406@qq.com>"]
license = "Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/nacos-sdk/latest"
repository = "https://github.com/nacos-group/nacos-sdk-rust"
homepage = "https://nacos.io"
description = "Nacos client in Rust."
categories = ["network-programming", "development-tools"]
keywords = ["microservices", "config", "naming", "service-discovery", "config-management"]
exclude = [".github", "proto", "tests"]
[workspace]
members = [
"nacos-macro"
]
[features]
default = ["config", "naming", "auth-by-http"]
config = []
naming = []
tls = ["reqwest/default-tls"]
auth-by-http = ["reqwest"]
[dependencies]
arc-swap = "1.7"
nacos-macro = { version = "0.1.0", path = "nacos-macro" }
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
futures = "0.3"
prost = "0.13"
prost-types = "0.13"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
lazy_static = "1.4"
tracing = "0.1"
local_ipaddress = "0.1.3"
rand = "0.8.5"
reqwest = { version = "0.12", default-features = false, features = [], optional = true }
async-trait = "0.1"
async-stream = "0.3.5"
tonic = "0.12"
tower = { version = "0.4.13", features = ["filter", "log"] }
futures-util = "0.3.28"
want = "0.3.0"
dashmap = "5.4.0"
home = "0.5.4"
dotenvy = "0.15"
[dev-dependencies]
tracing-subscriber = { version = "0.3", features = ["default"] }
tonic-build = "0.12"
mockall = { version = "0.11" }
[[example]]
name = "simple_app"
path = "examples/simple_app.rs"
[[example]]
name = "lazy_app"
path = "examples/lazy_app.rs"