-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
75 lines (63 loc) · 2.15 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
[package]
edition = "2021"
name = "polaris-rust"
version = "0.2.0-alpha.0"
authors = ["polaris-contrib", "houseme <[email protected]>", "liaochuntao <[email protected]>"]
categories = ["network-programming", "development-tools"]
description = "Lightweight Rust SDK used as Proxyless Service Governance Solution."
documentation = "https://docs.rs/polaris-rust"
homepage = "https://polarismesh.cn"
keywords = ["polaris", "discovery", "configuration", "governance"]
license = "BSD-3-Clause OR MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/polaris-contrib/polaris-rust"
# Crate build related
exclude = ["examples/*", "benches/*", "tests/*", ".gitignore"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bytes = {version = "1.4.0"}
schemars = {version = "0.8.16"}
serde = {version = "1.0.198", features = ["derive"]}
serde-duration-ext = {version = "0.1.0"}
serde_json = {version = "1.0.116"}
serde_yaml = {version = "0.9.34"}
uuid = {version = "1.8.0", features = [
"v4", # Lets you generate random UUIDs
"fast-rng", # Use a faster (but still sufficiently random) RNG
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
]}
# cache
dashmap = {version = "5.4.0"}
# http
reqwest = {version = "0.12.8", features = ["blocking"]}
# async
async-trait = {version = "0.1"}
http = {version = "0.2.12"}
hyper = {version = "1.5.0", features = ["full"]}
tokio = {version = "1.37.0", features = ["full"]}
tokio-stream = {version = "0.1.16"}
tower = {version = "0.4.13"}
# gRPC dep
futures = {version = "0.3.30"}
once_cell = {version = "1.19.0"}
prost = {version = "0.12.4"}
prost-build = {version = "0.12.4"}
prost-types = {version = "0.12.4"}
tonic = {version = "0.11.0"}
# logging
tracing = {version = "0.1.36"}
# crypto
aes = {version = "0.7.4"}
base64 = {version = "0.22.1"}
block-modes = {version = "0.8.1"}
hex = {version = "0.4.3"}
rand = {version = "0.8.4"}
rsa = {version = "0.9.6"}
[dev-dependencies]
tracing-subscriber = {version = "0.3", features = ["default"]}
[[example]]
name = "discover"
path = "examples/discover.rs"
[[example]]
name = "config"
path = "examples/config.rs"