Skip to content

Commit

Permalink
Updated Readme & Enabled release-plz (#4)
Browse files Browse the repository at this point in the history
* Updated Readme.

Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>

* Enabled relase-plz

Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>

---------

Signed-off-by: Marvin Hansen <marvin.hansen@gmail.com>
  • Loading branch information
marvin-hansen authored Feb 12, 2024
1 parent 023ce11 commit e3289ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 27 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
fetch-depth: 0 # necessary to determine the next version and build the changelog.
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
# - name: Run release-plz
# uses: MarcoIeni/release-plz-action@v0.5
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
29 changes: 7 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,34 +45,19 @@ For detailed usage and more information, check out the documentation: https://do

## Install ProtonClient

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

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

[//]: # (AFTER the release of the package on crates.io)

[//]: # (Add the proton client to your project by running in a terminal:)

[//]: # ()
[//]: # (```)

[//]: # (cargo add proton_client)

[//]: # (```)

[//]: # ()
[//]: # (of by adding the following to your Cargo.toml:)
or by adding the following to your Cargo.toml:

[//]: # (```)

[//]: # ([dependencies])

[//]: # (proton_client = { version = "0.1.0"})
```
[dependencies]
[//]: # (```)
proton_client = { version = "0.1.0"}
```


## Use ProtonClient
Expand Down

0 comments on commit e3289ed

Please sign in to comment.