Skip to content

Commit 2f40561

Browse files
committed
docs:完善Cargo.toml内容
1 parent c6cdb36 commit 2f40561

File tree

1 file changed

+40
-39
lines changed

1 file changed

+40
-39
lines changed

Cargo.toml

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,70 @@
11
[package]
2-
name = "polaris-rust"
32
edition = "2021"
3+
name = "polaris-rust"
44
version = "0.2.0"
5-
repository = "https://github.com/polaris-contrib/polaris-rust"
5+
6+
authors = ["polaris-contrib", "houseme <[email protected]>", "liaochuntao <[email protected]>"]
7+
categories = ["network-programming", "development-tools"]
68
description = "Lightweight Rust SDK used as Proxyless Service Governance Solution."
7-
homepage = "https://polarismesh.cn"
89
documentation = "https://docs.rs/polaris-rust"
9-
categories = ["config", "asynchronous", "development-tools"]
10-
readme = "README.md"
11-
authors = ["polaris-contrib", "houseme <[email protected]>", "liaochuntao <[email protected]>"]
10+
homepage = "https://polarismesh.cn"
1211
keywords = ["polaris", "discovery", "configuration", "governance"]
1312
license = "BSD 3 OR MIT OR Apache-2.0"
13+
readme = "README.md"
14+
repository = "https://github.com/polaris-contrib/polaris-rust"
1415
# Crate build related
1516
exclude = ["examples/*", "benches/*", "tests/*", ".gitignore"]
1617

1718
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1819
[dependencies]
19-
bytes = { version = "1.4.0" }
20-
schemars = { version = "0.8.16" }
21-
serde = { version = "1.0.198", features = ["derive"] }
22-
serde-duration-ext = { version = "0.1.0" }
23-
serde_json = { version = "1.0.116" }
24-
serde_yaml = { version = "0.9.34" }
20+
bytes = {version = "1.4.0"}
21+
schemars = {version = "0.8.16"}
22+
serde = {version = "1.0.198", features = ["derive"]}
23+
serde-duration-ext = {version = "0.1.0"}
24+
serde_json = {version = "1.0.116"}
25+
serde_yaml = {version = "0.9.34"}
2526

26-
uuid = { version = "1.8.0", features = [
27-
"v4", # Lets you generate random UUIDs
28-
"fast-rng", # Use a faster (but still sufficiently random) RNG
29-
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
30-
] }
27+
uuid = {version = "1.8.0", features = [
28+
"v4", # Lets you generate random UUIDs
29+
"fast-rng", # Use a faster (but still sufficiently random) RNG
30+
"macro-diagnostics", # Enable better diagnostics for compile-time UUIDs
31+
]}
3132

3233
# cache
33-
dashmap = { version = "5.4.0" }
34+
dashmap = {version = "5.4.0"}
3435

3536
# http
36-
reqwest = { version = "0.12.8", features = ["blocking"] }
37+
reqwest = {version = "0.12.8", features = ["blocking"]}
3738

3839
# async
39-
async-trait = { version = "0.1" }
40-
http = { version = "0.2.12" }
41-
hyper = { version = "0.14.28", features = ["full"] }
42-
tokio = { version = "1.37.0", features = ["full"] }
43-
tokio-stream = { version = "0.1.16" }
44-
tower = { version = "0.4.13" }
40+
async-trait = {version = "0.1"}
41+
http = {version = "0.2.12"}
42+
hyper = {version = "1.5.0", features = ["full"]}
43+
tokio = {version = "1.37.0", features = ["full"]}
44+
tokio-stream = {version = "0.1.16"}
45+
tower = {version = "0.4.13"}
4546

4647
# gRPC dep
47-
futures = { version = "0.3.30" }
48-
once_cell = { version = "1.19.0" }
49-
prost = { version = "0.12.4" }
50-
prost-build = { version = "0.12.4" }
51-
prost-types = { version = "0.12.4" }
52-
tonic = { version = "0.11.0" }
48+
futures = {version = "0.3.30"}
49+
once_cell = {version = "1.19.0"}
50+
prost = {version = "0.12.4"}
51+
prost-build = {version = "0.12.4"}
52+
prost-types = {version = "0.12.4"}
53+
tonic = {version = "0.11.0"}
5354

5455
# logging
55-
tracing = { version = "0.1.36" }
56+
tracing = {version = "0.1.36"}
5657

5758
# crypto
58-
aes = { version = "0.7.4" }
59-
base64 = { version = "0.22.1" }
60-
block-modes = { version = "0.8.1" }
61-
hex = { version = "0.4.3" }
62-
rand = { version = "0.8.4" }
63-
rsa = { version = "0.9.6" }
59+
aes = {version = "0.7.4"}
60+
base64 = {version = "0.22.1"}
61+
block-modes = {version = "0.8.1"}
62+
hex = {version = "0.4.3"}
63+
rand = {version = "0.8.4"}
64+
rsa = {version = "0.9.6"}
6465

6566
[dev-dependencies]
66-
tracing-subscriber = { version = "0.3", features = ["default"] }
67+
tracing-subscriber = {version = "0.3", features = ["default"]}
6768

6869
[[example]]
6970
name = "discover"

0 commit comments

Comments
 (0)