Skip to content

Commit

Permalink
release: 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Sep 15, 2022
1 parent 7e09d6e commit d20b49b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Change Log

This document records all notable changes to `fastcrc <https://github.com/overcat/fastcrc/>`_.

0.2.1 (September 15, 2022)
---------------------
* feat: add `fastcrc.crc16.ibm_refin` and `cfastcrc.crc32.reversed_reciprocal_refin`, these are two experimental functions that may be removed in the future.
* chore: build wheels for more platforms.
* docs: improve documentation.

0.2.0 (June 19, 2022)
---------------------
* Add initial value optional parameter to all CRC functions. (`#1 <https://github.com/overcat/fastcrc/pull/1>`_)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fastcrc"
version = "0.2.1-dev.8"
version = "0.2.1"
authors = ["overcat <[email protected]>"]
edition = "2018"
description = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum"
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
fastcrc==0.2.0
fastcrc==0.2.1
sphinx
2 changes: 1 addition & 1 deletion fastcrc/__info__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__description__ = "A hyper-fast Python module for computing CRC(16, 32, 64) checksum"
__url__ = "https://github.com/overcat/fastcrc"
__issues__ = f"{__url__}/issues"
__version__ = "0.2.1-dev.8"
__version__ = "0.2.1"
__author__ = "overcat"
__author_email__ = "[email protected]"
__license__ = "MIT License"
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ macro_rules! define_crc_fn {
let mut digest = match initial {
None => CRC.digest(),
Some(mut value) => {
// TODO: This might be a bug in crc-rs, let's fix it later.
value ^= $crc_type.xorout;
if $crc_type.refout {
value = value.reverse_bits()
Expand Down

0 comments on commit d20b49b

Please sign in to comment.