From 5fb1b422b7e056d271f6bb639b6f2c10bb3d2093 Mon Sep 17 00:00:00 2001 From: ZIO Assistant Date: Mon, 21 Oct 2024 13:20:15 +0000 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65d1f3b..59da514 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,21 @@ archive formats with [ZIO Streams](https://zio.dev). In order to use this library, we need to add one of the following line in our `build.sbt` file: ```sbt +libraryDependencies += "dev.zio" %% "zio-streams-compress-brotli" % "" +libraryDependencies += "dev.zio" %% "zio-streams-compress-brotli4j" % "" +libraryDependencies += "dev.zio" %% "zio-streams-compress-bzip2" % "" libraryDependencies += "dev.zio" %% "zio-streams-compress-gzip" % "" +libraryDependencies += "dev.zio" %% "zio-streams-compress-lz4" % "" +libraryDependencies += "dev.zio" %% "zio-streams-compress-tar" % "" libraryDependencies += "dev.zio" %% "zio-streams-compress-zip" % "" libraryDependencies += "dev.zio" %% "zio-streams-compress-zip4j" % "" -libraryDependencies += "dev.zio" %% "zio-streams-compress-tar" % "" -libraryDependencies += "dev.zio" %% "zio-streams-compress-bzip2" % "" libraryDependencies += "dev.zio" %% "zio-streams-compress-zstd" % "" -libraryDependencies += "dev.zio" %% "zio-streams-compress-brotli" % "" -libraryDependencies += "dev.zio" %% "zio-streams-compress-lz4" % "" ``` +For Brotli you can choose between the 'brotli' and the 'brotli4j' version. The first is based on the official Java +library but only does decompression. The second is based on [Brotli4J](https://github.com/hyperxpro/Brotli4j) which does +compression and decompression. + For ZIP files you can choose between the 'zip' and the 'zip4j' version. The first allows you to tweak the compression level, while the second allows you work with password-protected ZIP files.