Crates.io | csum |
lib.rs | csum |
version | 0.2.1 |
source | src |
created_at | 2022-09-21 20:12:20.795615 |
updated_at | 2022-09-22 00:16:22.309582 |
description | Simple Rust CLI to checksum |
homepage | |
repository | https://github.com/TheAwiteb/csum |
max_upload_size | |
id | 671153 |
size | 73,823 |
cargo install csum
csum --version
# Clone the repo
git clone https://github.com/theawiteb/csum.git
# Change directory to it
cd csum
# Build it with cargo
cargo build --release
# Move the binary to `/usr/bin` (Unix like system) (need permission to move in `/usr/bin`)
# You can change binary directory to `~/.cargo/bin` if its exists and its in `$PATH`
sudo mv ./target/release/csum /usr/bin/csum
# Print the version
csum --version
You can install binary file from releases page
USAGE:
csum [OPTIONS] <FILE>
ARGS:
<FILE> File to get a sum of it
OPTIONS:
-a, --algorithms <algorithms>... Checksum algorithms [possible values: sha-1, sha2-256,
sha2-224, sha2-384, sha2-512, sha3-256, sha3-512, blake,
blake2, blake2s, blake3, crc64, crc32c, crc32, crc16, crc8,
md5, md6-128, md6-256, md6-512, whirlpool, xor8]
-h, --help Print help information
-p, --plaintext Print a checksums without colors
-u, --upper Return a hash in uppercase
-v, --verify <HASH> Verify if your hash match any hash
-V, --version Print version information
Left | Right |
---|---|
GNU General Public License version 3 of the license for more see https://www.gnu.org/licenses/