Crates.io | commandit |
lib.rs | commandit |
version | 0.0.3 |
source | src |
created_at | 2021-11-10 22:52:12.899116 |
updated_at | 2023-05-26 13:39:18.530567 |
description | Some simple portable command line utilities |
homepage | https://codeberg.org/dyfet/commandit |
repository | https://codeberg.org/dyfet/commandit/ |
max_upload_size | |
id | 479918 |
size | 68,094 |
These are easy to setup cli tools that I may wish to have consistent and available on multiple platforms. To do so for easy cross-platform support and reasonable performance, I am using Rust. None of these will be particularly special, but this package also helps me define what I feel are best practices for Rust development.
Make "install" is sufficient to install these tools into /usr/local/bin. The Makefile makes it easy to build release and debug targets, and to produce a stand-alone distribution tarball that can then be loaded into a build system. This package can also be installed from cargo.
My Makefile includes a "dist" target, which produces a stand-alone tarball that can then be used to build install the tools detached from the repo. This is particularly useful for OS packaging. I will add a "lint", "test", and "coverage" target to test and verify code. The default make builds binaries in target/{build-type} using cargo build, where they can then be tested.
Support is offered thru https://codeberg.org/dyfet/commandit/issues. I also have dyfet@jabber.org. In the future maybe other means of support will become possible.