gecko-dev/third_party/rust/adler
Mike Hommey b19f6f43a2 Bug 1716518 - Upgrade miniz_oxide to v0.4.4 and adler to v1.0.2. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D117751
2021-06-15 20:39:44 +00:00
..
benches Bug 1675534 - Bump glean-core to 33.3.0. r=chutten 2020-11-12 15:51:33 +00:00
src Bug 1716518 - Upgrade miniz_oxide to v0.4.4 and adler to v1.0.2. r=emilio 2021-06-15 20:39:44 +00:00
.cargo-checksum.json Bug 1716518 - Upgrade miniz_oxide to v0.4.4 and adler to v1.0.2. r=emilio 2021-06-15 20:39:44 +00:00
CHANGELOG.md Bug 1716518 - Upgrade miniz_oxide to v0.4.4 and adler to v1.0.2. r=emilio 2021-06-15 20:39:44 +00:00
Cargo.toml Bug 1716518 - Upgrade miniz_oxide to v0.4.4 and adler to v1.0.2. r=emilio 2021-06-15 20:39:44 +00:00
LICENSE-0BSD Bug 1675534 - Bump glean-core to 33.3.0. r=chutten 2020-11-12 15:51:33 +00:00
LICENSE-APACHE Bug 1675534 - Bump glean-core to 33.3.0. r=chutten 2020-11-12 15:51:33 +00:00
LICENSE-MIT Bug 1675534 - Bump glean-core to 33.3.0. r=chutten 2020-11-12 15:51:33 +00:00
README.md Bug 1716518 - Upgrade miniz_oxide to v0.4.4 and adler to v1.0.2. r=emilio 2021-06-15 20:39:44 +00:00
RELEASE_PROCESS.md Bug 1675534 - Bump glean-core to 33.3.0. r=chutten 2020-11-12 15:51:33 +00:00

README.md

Adler-32 checksums for Rust

crates.io docs.rs CI

This crate provides a simple implementation of the Adler-32 checksum, used in the zlib compression format.

Please refer to the changelog to see what changed in the last releases.

Features

  • Permissively licensed (0BSD) clean-room implementation.
  • Zero dependencies.
  • Zero unsafe.
  • Decent performance (3-4 GB/s).
  • Supports #![no_std] (with default-features = false).

Usage

Add an entry to your Cargo.toml:

[dependencies]
adler = "1.0.2"

Check the API Documentation for how to use the crate's functionality.

Rust version support

Currently, this crate supports all Rust versions starting at Rust 1.31.0.

Bumping the Minimum Supported Rust Version (MSRV) is not considered a breaking change, but will not be done without good reasons. The latest 3 stable Rust versions will always be supported no matter what.