# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.89" name = "crc-fast" version = "1.10.0" authors = ["Don MacAskill"] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "World's fastest generic CRC16, CRC32, and CRC64 calculator using SIMD. Supplies a C-compatible shared library for use in other languages." readme = "README.md" keywords = [ "crc", "checksum", "simd", "accelerated", "fast", ] categories = [ "algorithms", "encoding", "hardware-support", ] license = "MIT OR Apache-2.0" repository = "https://github.com/awesomized/crc-fast-rust" [package.metadata.docs.rs] features = ["std"] rustdoc-args = [ "--cfg", "docsrs", ] [features] alloc = ["digest"] cache = [ "alloc", "hashbrown", "spin", ] cli = ["std"] default = [ "std", "panic-handler", "ffi", ] ffi = [] optimize_crc32_auto = [] optimize_crc32_avx512_v4s3x3 = [] optimize_crc32_avx512_vpclmulqdq_v3x2 = [] optimize_crc32_neon_blended = [] optimize_crc32_neon_eor3_v9s3x2e_s3 = [] optimize_crc32_neon_v12e_v1 = [] optimize_crc32_neon_v3s4x2e_v2 = [] optimize_crc32_sse_v4s3x3 = [] panic-handler = [] std = ["alloc"] vpclmulqdq = [] [lib] name = "crc_fast" crate-type = ["lib"] path = "src/lib.rs" bench = false [dependencies.digest] version = "0.10" features = ["alloc"] optional = true default-features = false [dependencies.hashbrown] version = "0.16.0" optional = true [dependencies.spin] version = "0.10.0" features = [ "once", "rwlock", "mutex", "spin_mutex", ] optional = true default-features = false [dev-dependencies.cbindgen] version = "0.29" [dev-dependencies.crc] version = "3.4" [dev-dependencies.criterion] version = "0.7" [dev-dependencies.proptest] version = "1.9" [dev-dependencies.rand] version = "0.9" [dev-dependencies.regex] version = "1.12" [dev-dependencies.wasm-bindgen-test] version = "0.3" [target.'cfg(target_arch = "aarch64")'.dependencies.spin] version = "0.10.0" features = [ "once", "rwlock", "mutex", "spin_mutex", ] default-features = false [target.'cfg(target_arch = "x86")'.dependencies.spin] version = "0.10.0" features = [ "once", "rwlock", "mutex", "spin_mutex", ] default-features = false [target.'cfg(target_arch = "x86_64")'.dependencies.spin] version = "0.10.0" features = [ "once", "rwlock", "mutex", "spin_mutex", ] default-features = false [profile.release] opt-level = 3 lto = true codegen-units = 1 strip = true