GitXplorerGitXplorer
o

gzip-header

public
8 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
291b763b9433ebe24e29cf0ba8c400e505e590c8

Update edition, add forbid unsafe, change try! to ?, bump version

ooyvindln committed 3 years ago
Unverified
9da7d36b2ad0654570e19b195f9d3abc9ca2efa4

Update version

ooyvindln committed 6 years ago
Verified
8869adb53c27a1d6b0b4c2eae9b802dd92aafd55

Merge pull request #2 from dingelish/master

ooyvindln committed 6 years ago
Verified
c95f5c6ced08f124edc0cafd04184f171d2f7d22

Replace crc with crc32fast

ddingelish committed 6 years ago
Unverified
b1fc136fbaf2cc7f27aa2c5c666c6e8c0fc9a489

Avoid dependency on enum_primitive as it is a big large for what we need.

ooyvindln committed 7 years ago
Unverified
40db217bd73029ad6abfe5ebcdf9411029f14db7

Bump crc version, impl display for GzHeader, update OS detection, fmt

ooyvindln committed 7 years ago

README

The README file for this repository.

gzip-header

A library to decode and encode headers for the gzip format. The library also contains a reader absctraction over a CRC checksum hasher.

A file in the gzip format contains a gzip header, a number of compressed data blocks in the DEFLATE format, and ends with the CRC32-checksum (in the IEEE format) and number of bytes (modulo 2^32) of the uncompressed data.

The gzip header is purely a set of metadata, and doesn't have any impact on the decoding of the compressed data other than the fact that DEFLATE-encoded data with a gzip-header is checked using the CRC32 algorithm.

This library is based on the gzip header functionality in the flate2 crate.

Currently requires rust 1.32 and newer.

License

Like the non-C parts of flate2-rs, gzip-header is distributed under the terms of both the MIT license and the Apache License (Version 2.0),

See LICENSE-APACHE, and LICENSE-MIT for details.