This is an automated email from the ASF dual-hosted git repository.

CritasWang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new faff2de  Rename crate to iotdb-client-rust (iotdb-client is taken on 
crates.io); keep iotdb_client as the lib import name
faff2de is described below

commit faff2de4a3608361b52ddf52cc4ac273da463ef9
Author: CritasWang <[email protected]>
AuthorDate: Mon Jul 20 11:45:15 2026 +0800

    Rename crate to iotdb-client-rust (iotdb-client is taken on crates.io); 
keep iotdb_client as the lib import name
---
 Cargo.toml   | 7 ++++++-
 README.md    | 4 ++--
 README_ZH.md | 4 ++--
 3 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 1399830..8d9b168 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@
 # under the License.
 
 [package]
-name = "iotdb-client"
+name = "iotdb-client-rust"
 version = "0.1.0"
 edition = "2021"
 rust-version = "1.75"
@@ -26,6 +26,11 @@ repository = "https://github.com/apache/iotdb-client-rust";
 keywords = ["iotdb", "timeseries", "database", "client"]
 categories = ["database"]
 
+# Import name stays `iotdb_client` (the package name carries the -rust suffix
+# only because `iotdb-client` is taken on crates.io).
+[lib]
+name = "iotdb_client"
+
 [dependencies]
 thrift = "0.23"
 byteorder = "1.5"
diff --git a/README.md b/README.md
index 78ba579..ef06b58 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ Once published to crates.io:
 
 ```toml
 [dependencies]
-iotdb-client = "0.1"
+iotdb-client-rust = "0.1"
 ```
 
 Until then, use a git dependency:
@@ -186,7 +186,7 @@ It must match the **server** setting 
`dn_rpc_thrift_compression_enable` (default
 **TLS** is behind the `tls` cargo feature (platform-native TLS via 
[`native-tls`](https://crates.io/crates/native-tls)):
 
 ```toml
-iotdb-client = { version = "0.1", features = ["tls"] }
+iotdb-client-rust = { version = "0.1", features = ["tls"] }
 ```
 
 ```rust
diff --git a/README_ZH.md b/README_ZH.md
index ae4b026..8161bf1 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -24,7 +24,7 @@
 
 ```toml
 [dependencies]
-iotdb-client = "0.1"
+iotdb-client-rust = "0.1"
 ```
 
 在此之前,可使用 git 依赖:
@@ -186,7 +186,7 @@ let config = SessionConfig { enable_rpc_compression: true, 
..Default::default()
 **TLS** 位于 `tls` cargo feature 之后(基于 
[`native-tls`](https://crates.io/crates/native-tls) 的平台原生 TLS):
 
 ```toml
-iotdb-client = { version = "0.1", features = ["tls"] }
+iotdb-client-rust = { version = "0.1", features = ["tls"] }
 ```
 
 ```rust

Reply via email to