Skip to content

Commit

Permalink
Add install instruction and rename bin name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealLorenz committed Feb 15, 2024
1 parent 6a53869 commit d64b9fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ alternative to [vscode-restclient](https://github.com/Huachao/vscode-restclient)

Original author blogpost: https://protiumx.github.io/blog/posts/an-http-request-parser-with-rust-and-pest-rs/

## Installation

```bash
cargo install --path rq-cli
```

## HTTP File

The `pest` grammar can be found [here](./rq-core/src/grammar.pest).
Expand Down
4 changes: 4 additions & 0 deletions rq-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
name = "rq"
path = "src/main.rs"

[dependencies]
rq-core = { path = "../rq-core" }

Expand Down

0 comments on commit d64b9fa

Please sign in to comment.