-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from abhi3700/code-refactoring
Code refactoring
- Loading branch information
Showing
5 changed files
with
41 additions
and
4 deletions.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Dummy JSON Rust SDK | ||
|
||
This is a Rust SDK for the [Dummy JSON API](https://dummyjson.com/). | ||
|
||
<u>Objective:</u> This SDK could be used to handle BE of any Rust App that interacts with the Dummy JSON API. | ||
|
||
## Build | ||
|
||
```bash | ||
cargo build -r | ||
``` | ||
|
||
## Run tests | ||
|
||
```bash | ||
cargo test -r | ||
``` | ||
|
||
## Format code | ||
|
||
```bash | ||
cargo fmt | ||
``` | ||
|
||
## Lint code | ||
|
||
```bash | ||
cargo clippy | ||
``` | ||
|
||
<!-- | ||
TODO: | ||
## Run benchmarks | ||
```bash | ||
cargo bench | ||
``` --> |
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
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
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
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