Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Commit b062c0a

Browse files
authored
fix rust sdk (#51)
1 parent 9a3673f commit b062c0a

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

docs/src/cn/sdk/rust.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22

33
## 安装
44

5-
你只需要在项目的 Cargo.toml 文件中加入以下依赖:
6-
7-
```toml
8-
[dependencies.ceresdb-client-rs]
9-
git = "https://github.com/CeresDB/ceresdb-client-rs.git"
10-
rev = "69948b9963597ccdb7c73756473393972dfdebd3"
5+
```bash
6+
cargo add ceresdb-client
117
```
128

139
## 初始化客户端

docs/src/en/sdk/rust.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22

33
## Install
44

5-
Just need to add dependency to Cargo.toml in your project:
6-
7-
```toml
8-
[dependencies.ceresdb-client-rs]
9-
git = "https://github.com/CeresDB/ceresdb-client-rs.git"
10-
rev = "69948b9963597ccdb7c73756473393972dfdebd3"
5+
```bash
6+
cargo add ceresdb-client
117
```
128

139
## Init Client

0 commit comments

Comments
 (0)