We have hosted the application rust cmd lib in order to run this application in our online workstations with Wine or directly.
Quick description about rust cmd lib:
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:
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.