{"id":13672156,"url":"https://github.com/zowens/crc32c","last_synced_at":"2025-12-12T16:51:10.703Z","repository":{"id":25687897,"uuid":"103671752","full_name":"zowens/crc32c","owner":"zowens","description":"Fast CRC-32-Castagnoli implementation in Rust","archived":false,"fork":false,"pushed_at":"2024-06-09T17:15:17.000Z","size":91,"stargazers_count":45,"open_issues_count":7,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T09:11:37.380Z","etag":null,"topics":["crc32","hashing","rust","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zowens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-15T15:19:05.000Z","updated_at":"2024-07-05T20:05:17.000Z","dependencies_parsed_at":"2024-05-18T05:21:00.565Z","dependency_job_id":"2733938f-327f-4588-920d-12c7faf93447","html_url":"https://github.com/zowens/crc32c","commit_stats":{"total_commits":74,"total_committers":9,"mean_commits":8.222222222222221,"dds":0.5540540540540541,"last_synced_commit":"ba34025abccc94077e8c0e33370b27b76051993c"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowens%2Fcrc32c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowens%2Fcrc32c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowens%2Fcrc32c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zowens%2Fcrc32c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zowens","download_url":"https://codeload.github.com/zowens/crc32c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224087154,"owners_count":17253511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crc32","hashing","rust","rust-library"],"created_at":"2024-08-02T09:01:27.929Z","updated_at":"2025-12-12T16:51:10.651Z","avatar_url":"https://github.com/zowens.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# CRC32C\n\n[![Crates.io](https://img.shields.io/crates/v/crc32c.svg)](https://crates.io/crates/crc32c)\n[![Docs.rs](https://docs.rs/crc32c/badge.svg)](https://docs.rs/crc32c/)\n[![Travis](https://travis-ci.org/zowens/crc32c.svg?branch=master)](https://travis-ci.org/zowens/crc32c/)\n\nRust implementation of the CRC-32-Castagnoli algorithm with hardware acceleration where possible.\n\nHardware acceleration on the following architectures:\n1. **x84-64** with [SSE 4.2](https://software.intel.com/sites/default/files/m/8/b/8/D9156103.pdf)\n    * All stable versions of Rust\n    * If SSE 4.2 is enabled at compile time, it will only build the SSE implementation. Otherwise, the `cpuid` is used to find the best implementation at runtime.\n1. **aarch64** with [crc feature](https://developer.arm.com/documentation/dui0801/g/A32-and-T32-Instructions/CRC32C)\n    * Only available on rust version \u003e= 1.80.0 or nightly\n\nAll other processors utilize a software fallback.\n\n## Usage\n\nFirst, add this to your `Cargo.toml`:\n\n```toml\n[dependencies]\ncrc32c = \"0.6\"\n```\n\n```rust\nextern crate crc32c;\n\nfn main() {\n    let message = b\"Hello world!\";\n    let crc = crc32c::crc32c(message);\n\n    println!(\"hash = {}\", crc);\n}\n```\n\n## License\nYou may use this code under either the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0)\nor the [MIT license](https://opensource.org/licenses/MIT), at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzowens%2Fcrc32c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzowens%2Fcrc32c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzowens%2Fcrc32c/lists"}