That's pretty awesome! I love seeing bindings and utilities starting
to get written for rust. Perhaps some sort of wiki-style page is in
order for keeping track of all these libraries...

It'd be cool if opening an archive would behave like a filesystem
where I could do something like:

  let zip = ZipReader::new(...);
  let filea = zip.open_reader(Path("my/awesome/file.txt"));
  let fileb = zip.open_reader(Path("my/other/awesome/file.txt"));

Right now open_reader requires &mut self which prevents more than one
borrow at a time, but perhaps that could become &self.

Also, I've always found writing tests to be an excellent way of
test-driving a library, and it's even easier to run them now that
fgilcher from reddit set up a nightly ppa for rust! Travis-ci
integrates excellently with github and
http://www.reddit.com/r/rust/comments/1ni84a/running_rust_tests_on_travis_ci/
has all the good details. As soon as I saw that I put my own splay
tree implementation in rust on travis and it worked beautifully!

First we get rustpkg awesomeness, then we get travis awesomeness, and
now we're getting awesome projects like this. It's like Christmas is
coming early!

On Thu, Oct 3, 2013 at 12:22 PM, Jorge Gorbe <[email protected]> wrote:
> Hi everyone,
>
> I'm writing a library for reading and writing Zip archives in Rust, as a
> learning project, and I would love to hear what you think about it.
>
> https://github.com/slackito/zip
>
> At the moment, the only things you can do with it are listing the contents
> of an archive and extract files from it (as long as they are either
> uncompressed or deflated, the flate module came in handy :D), but I'm
> planning on adding write support soon, and then decide if I want to support
> more advanced features such as ZIP64, more compression methods, etc, or move
> to another thing.
>
> As I said, I'm learning Rust as I code this, so any kind of feedback is
> welcome.
>
> Regards,
> Jorge
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to