[package]
edition = "2024"
rust-version = "1.98.1"
name = "rustfs-checksums"
version = "1.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Checksum calculation and verification callbacks for HTTP request and response bodies sent by service clients generated by RustFS, ensuring data integrity and authenticity."
homepage = "https://rustfs.com"
documentation = "https://docs.rs/rustfs-checksums/latest/rustfs_checksum/"
readme = "README.md"
keywords = [
"checksum-calculation",
"verification",
"integrity",
"authenticity",
"rustfs",
]
categories = [
"web-programming",
"development-tools",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/rustfs/rustfs"
[features]
default = []
hotpath = ["hotpath/hotpath"]
hotpath-alloc = [
"hotpath",
"hotpath/hotpath-alloc",
]
hotpath-cpu = [
"hotpath",
"hotpath/hotpath-cpu",
]
[lib]
name = "rustfs_checksums"
path = "src/lib.rs"
doctest = false
[dependencies.base64-simd]
version = "0.8.0"
[dependencies.bytes]
version = "1.12.1"
features = ["serde"]
[dependencies.crc-fast]
version = "1.10.0"
[dependencies.hotpath]
version = "0.28.0"
default-features = false
[dependencies.http]
version = "1.5.0"
[dependencies.md-5]
version = "0.11.0"
[dependencies.sha1]
version = "0.11.0"
[dependencies.sha2]
version = "0.11.0"
[dependencies.xxhash-rust]
version = "0.8.19"
features = [
"xxh64",
"xxh3",
]
[dev-dependencies.pretty_assertions]
version = "1.4.1"
[lints.clippy]
all = "warn"
needless_collect = "warn"
redundant_clone = "warn"
[lints.rust]
unsafe_code = "deny"