dyz1990 / sevenz-rust

A 7z decompressor/compressor lib written in pure rust
Apache License 2.0
153 stars 24 forks source link

Maybe better API #6

Open iqiziqi opened 1 year ago

iqiziqi commented 1 year ago

Have you considered add some of the public APIs to make them more human?

For example:

SevenZReader::open("path/file.7z")
    .with_password("password".into()) 
    .decompress();

or

is_7z('xxx')