Registry / utility / crc-any

crc-any

JSON →
library2.5.0rscratesunverified

Compute CRC values with customizable parameters (bits, polynomial, reflection, initial value, final XOR) and many built-in CRC functions.

# Cargo.toml [dependencies] crc-any = "2.5.0"
INSTALL
IMPORT
SIG · CRC-ANY
C
crc-any
utilityrustv2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CRCu16
use crc_any::CRCu16;

Compute a CRC-16 Modbus checksum for a byte slice.

use crc_any::CRCu16; let mut crc = CRCu16::crc16modbus(); crc.digest(b"hello"); println!("CRC: {:04x}", crc.get_crc());
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
crc-any — cargo add crc-any · libregistry