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.