зеркало из https://github.com/mozilla/gecko-dev.git
0225a451b1
This additionally brings in two more Rust dependencies: adler and autocfg. They are included in one of the latest flate2 version. Differential Revision: https://phabricator.services.mozilla.com/D96833 |
||
---|---|---|
.. | ||
benches | ||
src | ||
.cargo-checksum.json | ||
CHANGELOG.md | ||
Cargo.toml | ||
LICENSE-0BSD | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md | ||
RELEASE_PROCESS.md |
README.md
Adler-32 checksums for Rust
This crate provides a simple implementation of the Adler-32 checksum, used in zlib, rsync, and other software.
Please refer to the changelog to see what changed in the last releases.
Features
- Permissively licensed (0BSD) clean-room implementation.
- Zero dependencies.
- Decent performance (3-4 GB/s).
- Supports
#![no_std]
(withdefault-features = false
).
Usage
Add an entry to your Cargo.toml
:
[dependencies]
adler = "0.2.3"
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.