diff --git a/Cargo.toml b/Cargo.toml index e028546..46e224e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,13 @@ [package] -name = "etcdv3" +name = "etcd-client" version = "0.1.0" -authors = ["The etcdv3 Authors "] +authors = ["The etcd-client Authors "] edition = "2018" readme = "README.md" license = "MIT" description = "An etcd v3 API client" -repository = "https://github.com/etcdv3/etcdv3.git" +repository = "https://github.com/etcdv3/etcd-client.git" +homepage = "https://github.com/etcdv3/etcd-client" keywords = ["etcd", "v3", "api", "client", "async"] [dependencies] diff --git a/LICENSE b/LICENSE index b7c320a..2b3de88 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2020 The etcdv3 Authors +Copyright (c) 2020 The etcd-client Authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated diff --git a/README.md b/README.md index 831713c..03a6cc9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# etcdv3 +# etcd-client [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) @@ -24,7 +24,7 @@ It provides asynchronous client backed by [tokio](https://github.com/tokio-rs/to ## Usage ```Rust -use ectdv3::*; +use ectd_client::*; let mut client = Client::connect(["localhost:2379"]).await?; // put kv @@ -48,7 +48,7 @@ Notes that we use a fixed `etcd` server URI (localhost:2379) to connect to etcd ## Rust version requirements -`etcdv3` works on rust `1.39` and above as it requires support for the `async_await` +`etcd-client` works on rust `1.39` and above as it requires support for the `async_await` feature. ## License @@ -58,5 +58,5 @@ This project is licensed under the MIT license ([LICENSE](LICENSE) or http://ope ## Contribution Unless you explicitly state otherwise, any contribution intentionally submitted -for inclusion in `etcdv3` by you, shall be licensed as MIT, without any additional +for inclusion in `etcd-client` by you, shall be licensed as MIT, without any additional terms or conditions. diff --git a/examples/kv.rs b/examples/kv.rs index 5b90582..9b28470 100644 --- a/examples/kv.rs +++ b/examples/kv.rs @@ -1,6 +1,6 @@ //! KV example. -use etcdv3::*; +use etcd_client::*; #[derive(Debug)] struct KV { diff --git a/examples/watch.rs b/examples/watch.rs index 18668aa..0bb9005 100644 --- a/examples/watch.rs +++ b/examples/watch.rs @@ -1,6 +1,6 @@ //! Watch example -use etcdv3::*; +use etcd_client::*; #[tokio::main] async fn main() -> Result<(), Error> { diff --git a/src/error.rs b/src/error.rs index de55fd5..7e045fd 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,7 +5,7 @@ use std::str::Utf8Error; pub type Result = std::result::Result; -/// The error type for `etcdv3` client. +/// The error type for `etcd` client. #[derive(Debug)] pub enum Error { /// Invalid arguments