An Erlang NIF library written in Rust with hardware accelerated CRC32C instructions with software fallback. Read crc32c crate for more information.
Add the following lines to your rebar.config file:
{plugins, [rebar3_rustler]}.
{cargo_opts, [
{src_dir, "native/crc32c"}
]}.
{provider_hooks, [
{pre, [
{compile, {cargo, build}}
]},
{post, [
{clean, {cargo, clean}},
{eunit, {cargo, test}}
]}
]}.