Crates.io | cargo-gui |
lib.rs | cargo-gui |
version | 0.3.1 |
source | src |
created_at | 2019-11-23 20:27:37.974455 |
updated_at | 2019-12-18 06:30:28.882218 |
description | A browser interface for working through rustc errors and running cargo commands. |
homepage | https://github.com/eignnx/cargo-gui |
repository | https://github.com/eignnx/cargo-gui |
max_upload_size | |
id | 183799 |
size | 199,621 |
A browser interface for working through rustc errors and running cargo commands.
Install cargo-gui
from crates.io:
$ cargo install cargo-gui
Next, go to the directory of one of your cargo projects and start the cargo-gui
server:
$ cd path/to/my-cargo-project
$ cargo gui
Server is listening on: http://127.0.0.1:9345
Now open that link in your web browser: http://localhost:9345/
You can click the Build
, and Check
buttons to invoke the corresponding cargo
commands (i.e. Build
invokes cargo build
in your project directory).
If building or checking your program results in compilation errors, they will be displayed in a paginated format below. You can used the pagination navbar to see the Next
, Previous
, First
and Last
compilation errors. You can also use the left and right arrow keys on your keyboard to go to the next and previous errors.
cargo
. Compiler messages and errors come in asynchronously as they are produced by the remote cargo
command! (v0.3.0
)v0.3.1
)cargo test
commands.Cancel (^C)
button.Run
and Exec
commands. This is tricky because the user could run a command like vim
which constantly "repaints" the terminal window and accepts user input.Contributions are welcome! Please check out CONTRIBUTING.md for instructions on how to get involved.