diff --git a/README.md b/README.md index fa64a23..c41681f 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/rq-cli/Cargo.toml b/rq-cli/Cargo.toml index 3566d11..e06bad7 100644 --- a/rq-cli/Cargo.toml +++ b/rq-cli/Cargo.toml @@ -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" }