forked from nacos-group/nacos-sdk-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (70 loc) · 2.5 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
[package]
name = "nacos-sdk"
version = "0.2.2"
edition = "2021"
authors = ["nacos-group", "CheirshCai <[email protected]>", "onewe <[email protected]>"]
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"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["config", "naming", "auth-by-http"]
config = []
naming = []
auth-by-http = ["reqwest"]
[dependencies]
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"] }
futures = "0.3"
grpcio = { version = "0.10.3", default-features = false, features = ["prost-codec"] }
prost = "0.11"
prost-types = "0.11"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_repr = "0.1"
lazy_static = "1.4"
#crossbeam = "0"
#async_once = "0"
#opentelemetry = "0"
tracing = "0.1"
local_ipaddress = "0.1.3"
rand = "0.8.5"
url="2.3.1"
# now only for feature="auth-by-http"
reqwest = { version = "0.11", default-features = false, features = [], optional = true }
[dev-dependencies]
grpcio-compiler = { version = "0.12", default-features = false, features = ["prost-codec"] }
prost-build = "0.11"
tracing-subscriber = { version = "0.3", features = ["default"] }
[[example]]
name = "simple_app"
path = "examples/simple_app.rs"