From 5dfd16504f8bec9ba74c8aeb6c89be53ec372d7d Mon Sep 17 00:00:00 2001 From: yoogo Date: Wed, 24 Apr 2024 09:28:04 +0800 Subject: [PATCH] chore: add desc --- Cargo.toml | 5 ++++- README.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4d95bbb..dbbc502 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,10 @@ name = "tonic-lb" version = "0.0.1" edition = "2021" description = "A Grpc name resolver for tonic" -license-file = "LICENSE" +license = "MIT" +homepage = "https://github.com/yoogoc/tonic-lb" +repository = "https://github.com/yoogoc/tonic-lb" +keywords = ["tonic", "loadbalance", "kube", "kubernetes"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 401fc37..39d12de 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A Grpc name resolver for [`tonic`](https://github.com/hyperium/tonic) ## usage ```rust -let uri = "kubernetes://service-name:8080/".into; +let uri = "kubernetes://service-name:8080/".into(); let channel = tonic_lb::kube::default_channel(uri).await?; let client = YourServiceClient::new(channel); ```