This is the Linux app named rust_cmd_lib whose latest release can be downloaded as v1.0.10sourcecode.tar.gz. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named rust_cmd_lib with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
rust_cmd_lib
DESCRIPTION
rust_cmd_lib is a Rust library that provides macros and utilities to write “shell-script-like” tasks in Rust in a more ergonomic way. It offers abstractions over running external commands, managing redirections, piping, environment variables, and other aspects of shell scripting, but with the type safety, error checking, and performance of Rust. Its goal is to enable developers to replace or port common shell scripts into Rust with less boilerplate.
Features
- Macros like run_cmd! and run_fun! to execute external commands with capturing output, chaining, error handling etc.
- Support for piping and redirection (so you can write pipes and redirects inside macro usage, not manually spawn subprocesses and wire IO)
- Utilities for passing parameters more intuitively (literal strings, variable interpolation) so scripts feel more natural than verbose process spawning code
- Feature flags and optional dependencies so you can enable or disable parts of functionality depending on your needs (logging, pipefail, etc.)
- Examples and test suite, including “tetris game example” among others, showing how more complex shell script behavior can be expressed.
- A library design: no spawning of extra shell when possible, so reduced runtime overhead and more safety around escaping, etc.
Programming Language
Rust
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/rust-cmd-lib.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.