From 4d07f695dee1c34e23d8f6540dc67be4ac077450 Mon Sep 17 00:00:00 2001 From: Mathijs van de Nes Date: Thu, 11 Sep 2014 10:50:41 +0200 Subject: [PATCH] Added Travis support, README and LICENSE --- .travis.yml | 18 ++++++++++++++++++ Cargo.toml | 15 +++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 19 +++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 .travis.yml create mode 100644 LICENSE create mode 100644 README.md diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..9e78476f --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: rust + +notifications: + email: + on_success: never + on_failure: always + +env: + global: + - secure: F1XhJmZGLE0WuVr7KsN0+Yn5sCiBjc8L9Lwugg5wV3/XwJqskq4EZXSFUDBbhIsMeArMftnrfxejEncySMs/CtjAaHnHxbGvCkWZAihyNQUjbbaYXTpPBfjqye5dhkWIEeTZXfIZacCoFxPGwGA+SWf9PfvgztQyazXEtmxtSqw= + +script: + - cargo build + - cargo test + - cargo doc + +after_script: + - cd target && curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh diff --git a/Cargo.toml b/Cargo.toml index f6d12305..b9c5f7f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,18 @@ authors = ["Mathijs van de Nes "] [dependencies.flate2] git = "https://github.com/alexcrichton/flate2-rs.git" + +[[bin]] +name = "extract" +test = false +doc = false + +[[bin]] +name = "cksummer" +test = false +doc = false + +[[bin]] +name = "write_sample" +test = false +doc = false diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..b2d7f7bb --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Mathijs van de Nes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..356ded98 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +zip-rs +====== + +[![Build Status](https://travis-ci.org/mvdnes/zip-rs.svg)](https://travis-ci.org/mvdnes/zip-rs) + +[Documentation](http://www.rust-ci.org/mvdnes/zip-rs/doc/zip/) + +A zip library for rust wich supports reading and writing of simple ZIP files. + +Supported compression formats: + +* stored (i.e. none) +* deflate + +Currentlt unsupported zip extensions: + +* ZIP64 +* Encryption +* Multi-disk