Skip to content

Commit e3289ed

Browse files
Updated Readme & Enabled release-plz (#4)
* Updated Readme. Signed-off-by: Marvin Hansen <[email protected]> * Enabled relase-plz Signed-off-by: Marvin Hansen <[email protected]> --------- Signed-off-by: Marvin Hansen <[email protected]>
1 parent 023ce11 commit e3289ed

File tree

2 files changed

+12
-27
lines changed

2 files changed

+12
-27
lines changed

.github/workflows/rust-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
fetch-depth: 0 # necessary to determine the next version and build the changelog.
2727
- name: Install Rust toolchain
2828
uses: dtolnay/rust-toolchain@stable
29-
# - name: Run release-plz
30-
# uses: MarcoIeni/[email protected]
31-
# env:
32-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
29+
- name: Run release-plz
30+
uses: MarcoIeni/[email protected]
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

README.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,34 +45,19 @@ For detailed usage and more information, check out the documentation: https://do
4545

4646
## Install ProtonClient
4747

48-
Add the following to your Cargo.toml:
48+
Add the proton client to your project by running in a terminal:
4949

5050
```
51-
[dependencies]
52-
proton_client = { git = "https://github.com/timeplus-io/proton-rust-client.git" }
51+
cargo add proton_client
5352
```
5453

55-
[//]: # (AFTER the release of the package on crates.io)
56-
57-
[//]: # (Add the proton client to your project by running in a terminal:)
58-
59-
[//]: # ()
60-
[//]: # (```)
61-
62-
[//]: # (cargo add proton_client)
63-
64-
[//]: # (```)
65-
66-
[//]: # ()
67-
[//]: # (of by adding the following to your Cargo.toml:)
54+
or by adding the following to your Cargo.toml:
6855

69-
[//]: # (```)
70-
71-
[//]: # ([dependencies])
72-
73-
[//]: # (proton_client = { version = "0.1.0"})
56+
```
57+
[dependencies]
7458
75-
[//]: # (```)
59+
proton_client = { version = "0.1.0"}
60+
```
7661

7762

7863
## Use ProtonClient

0 commit comments

Comments
 (0)