Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compression_rs

A simple Rust command-line tool to compress and decompress files using Gzip.

Features

  • Compression: Compress any file using Gzip.
  • Decompression: Decompress Gzip files.
  • Performance Timing: Displays the time taken for each operation.

Usage

Build the project

First, clone the repository and build the project using cargo:

git clone https://github.com/your-username/rs_compression.git
cd rs_compression
cargo build --release

Run the tool

Compress a file:

cargo run --release -- -c <source_file> <output_file>

Decompress a file:

cargo run --release -- -d <source_file> <output_file>

Example:

To compress a file:

cargo run --release -- -c example.txt example.txt.gz

To decompress a file:

cargo run --release -- -d example.txt.gz decompressed.txt

Requirements

  • Rust (latest stable version)

About

A simple Rust command-line tool for compressing and decompressing files using Gzip.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages