Re: [compress] High Level API for Archives
On 2 May 2018 at 08:41, Stefan Bodewig <bodewig@xxxxxxxxxx> wrote:
> It's a bit more complex than that. A hypothetical commons-sevenz would
> stil have an optional dependency on commons-lzma which then has a real
> depedendency on XZ for Java. The 7z code doesn't need XZ for Java if the
> archive you want to read only contains deflated entries. I don't think
> you'd want to split the sevenz module into one that requires lzma and
> one that doesn't.
This sounds like a neat use of optional dependencies. However, this also
raises a nice boundary: archives and codecs. The archives depend on codec
implementations, not the other way around.
Matt Sicker <boards@xxxxxxxxx>