-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
isik508
committed
Jul 1, 2024
1 parent
b140914
commit 0898184
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# dsh_mqtt_client | ||
|
||
## Run the example | ||
|
||
To run the example for fetching mqtt token, you may use below command: | ||
cargo run --package dsh_mqtt_client --example main | ||
cargo run --package dsh_mqtt_client --example fetch_token | ||
|
||
To run the example for publishing a message, you may use below command: | ||
cargo run --package dsh_mqtt_client --example publish | ||
|
||
To run the example for fetching mqtt token, you may use below command: | ||
cargo run --package dsh_mqtt_client --example subscribe |