wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libWARC | Identify external libraries required by LibWARC (#5)


From: Tim Rühsen
Subject: Re: libWARC | Identify external libraries required by LibWARC (#5)
Date: Wed, 27 May 2020 09:28:43 +0000



Tim Rühsen commented:


As @darnir says, `gzip` is pretty mandatory, `zstd` is optional and needs an 
extension of the WARC spec (everyone is free to propose a draft).

Regarding sha1: The gnulib module provides a slow but working implementation. 
So, build support for nettle, gcrypt and openssl/crypto would be very nice, as 
those libraries provide highly optimized versions of sha1. 

Alternatively (or even better) would be an API to set the hash functions 
callbacks, so that an application has full control and can override the 
built-in hash functions. That wouldn't add any dependencies to libWARC.

You'll find similar code in the Wget2 project (see `configure.ac` and 
`libwget/hashfile.c`).

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/libwarc/-/issues/5#note_349887287
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]