You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2022/03/21 09:34:00 UTC
[jira] [Resolved] (AVRO-3245) Rust: Replace crc crate with crc32fast
[ https://issues.apache.org/jira/browse/AVRO-3245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3245.
---------------------------------------------
Fix Version/s: 1.11.1
1.12.0
Resolution: Fixed
> Rust: Replace crc crate with crc32fast
> --------------------------------------
>
> Key: AVRO-3245
> URL: https://issues.apache.org/jira/browse/AVRO-3245
> Project: Apache Avro
> Issue Type: Improvement
> Components: rust
> Affects Versions: 1.11.0
> Reporter: Martin Tzvetanov Grigorov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.11.1, 1.12.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently Avro RS uses [https://crates.io/crates/crc] when "snappy" feature is enabled.
> crc broke its API from 1.x to 2.x: [https://github.com/apache/avro/pull/1387]
>
> While investigating how to migrate it I've noticed that Avro Rust already depends on [https://crates.io/crates/crc32fast] via [https://crates.io/crates/libflate] .
> crc32fast uses hardware optimizations and much faster than "crc"
--
This message was sent by Atlassian Jira
(v8.20.1#820001)