sharc 0.1.2

Simple, high-speed archiver using the density compression library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use clap::Parser;
use sharc::decoder::decode;
use std::io::Result;
use std::path::PathBuf;

#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
struct Args {
    /// File path
    #[arg()]
    file_path: PathBuf,
}

fn main() -> Result<()> {
    let args = Args::parse();
    decode(args.file_path)
}