|
1 | 1 | [package] |
2 | | -name = "polaris-rust" |
3 | 2 | edition = "2021" |
| 3 | +name = "polaris-rust" |
4 | 4 | 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"] |
6 | 8 | description = "Lightweight Rust SDK used as Proxyless Service Governance Solution." |
7 | | -homepage = "https://polarismesh.cn" |
8 | 9 | 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" |
12 | 11 | keywords = ["polaris", "discovery", "configuration", "governance"] |
13 | 12 | license = "BSD 3 OR MIT OR Apache-2.0" |
| 13 | +readme = "README.md" |
| 14 | +repository = "https://github.com/polaris-contrib/polaris-rust" |
14 | 15 | # Crate build related |
15 | 16 | exclude = ["examples/*", "benches/*", "tests/*", ".gitignore"] |
16 | 17 |
|
17 | 18 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
18 | 19 | [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"} |
25 | 26 |
|
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 | +]} |
31 | 32 |
|
32 | 33 | # cache |
33 | | -dashmap = { version = "5.4.0" } |
| 34 | +dashmap = {version = "5.4.0"} |
34 | 35 |
|
35 | 36 | # http |
36 | | -reqwest = { version = "0.12.8", features = ["blocking"] } |
| 37 | +reqwest = {version = "0.12.8", features = ["blocking"]} |
37 | 38 |
|
38 | 39 | # 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"} |
45 | 46 |
|
46 | 47 | # 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"} |
53 | 54 |
|
54 | 55 | # logging |
55 | | -tracing = { version = "0.1.36" } |
| 56 | +tracing = {version = "0.1.36"} |
56 | 57 |
|
57 | 58 | # 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"} |
64 | 65 |
|
65 | 66 | [dev-dependencies] |
66 | | -tracing-subscriber = { version = "0.3", features = ["default"] } |
| 67 | +tracing-subscriber = {version = "0.3", features = ["default"]} |
67 | 68 |
|
68 | 69 | [[example]] |
69 | 70 | name = "discover" |
|
0 commit comments