summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-13 14:28:34 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-13 14:28:34 -0400
commite49275700f0cf770d30a379c0523c8c8ffa4cc3c (patch)
tree0c01053dc7e660fecd2f3605d652981bb013792f
parent2970d77649cb7abc900077e9ce40bef6f0eec923 (diff)
downloadzip-crystal-e49275700f0cf770d30a379c0523c8c8ffa4cc3c.tar.bz2
zip-crystal-e49275700f0cf770d30a379c0523c8c8ffa4cc3c.zip
add stream writing to list of features
-rw-r--r--README.md2
-rw-r--r--src/zip.cr2
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index d0bbc3f..b424693 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,8 @@ Read and write zip archives natively from
*Features*
* Read and write zip files
* Native Crystal, no dependencies other than zlib
+* Stream writing (e.g. write zip to socket, pipe or other arbitrary,
+ non-seekable IO)
* ZIP64 support
* Store and DEFLATE compression
* UTF-8 filename and comment support (EFS)
diff --git a/src/zip.cr b/src/zip.cr
index 4f007db..583191a 100644
--- a/src/zip.cr
+++ b/src/zip.cr
@@ -38,6 +38,8 @@ require "zlib"
# Features:
# * Read and write zip files
# * Native Crystal, no dependencies other than zlib
+# * Stream writing (e.g. write zip to socket, pipe or other arbitrary,
+# non-seekable IO)
# * ZIP64 support
# * Store and DEFLATE compression
# * UTF-8 filename and comment support (EFS)