Skip to content

Commit 2a9968b

Browse files
committed
Update versions to support 1.81+
Use bindgen 0.70, since 0.71 adds ‘unsafe extern’ to generated C bindings, which isn’t supported until 1.82.
1 parent bc893fb commit 2a9968b

File tree

2 files changed

+60
-53
lines changed

2 files changed

+60
-53
lines changed

Cargo.lock

Lines changed: 56 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[package]
22
name = "crc-fast"
3-
version = "1.0.0"
3+
version = "1.0.1"
44
edition = "2021"
55
authors = ["Don MacAskill"]
66
license = "MIT OR Apache-2.0"
77
keywords = ["crc", "checksum", "simd", "accelerated", "fast"]
88
categories = ["algorithms", "encoding", "hardware-support"]
99
repository = "https://github.com/awesomized/crc-fast-rust"
10-
description = "Hardware-accelerated CRC-32 and CRC-64 checksum calculation using SIMD"
10+
description = "Fast, hardware-accelerated CRC-32 and CRC-64 checksum calculation using SIMD"
1111
readme = "README.md"
1212

1313
# 1.69.0 added VPCLMULQDQ x86 detection support, 1.70.0 added LLVM 16 which supports PMULL2 on Aarch64
14-
rust-version = "1.70"
14+
rust-version = "1.81"
1515

1616
[lib]
1717
name = "crc_fast"
@@ -28,7 +28,7 @@ regex = "1.11.1"
2828
[dev-dependencies]
2929
criterion = "0.5"
3030
cbindgen = "0.28"
31-
bindgen = "0.71"
31+
bindgen = "0.70" # 0.70 is the last version that supports Rust 1.81 due to 'unsafe extern' blocks
3232

3333
[build-dependencies]
3434
cc = { version = "1.2", features = ["parallel"] }

0 commit comments

Comments
 (0)