[package]
edition = "2024"
rust-version = "1.89"
name = "halftime"
version = "0.1.1"
authors = ["ShaJaPas"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HalftimeHash: almost-universal hashing for long strings"
homepage = "https://github.com/shajapas/halftime"
documentation = "https://docs.rs/halftime"
readme = "README.md"
keywords = [
"crypto",
"hash",
"universal-hashing",
"no-std",
]
categories = [
"cryptography",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/shajapas/halftime"
[features]
default = []
[lib]
name = "halftime"
path = "src/lib.rs"
[[bench]]
name = "halftime"
path = "benches/halftime.rs"
harness = false
[dependencies.universal-hash]
version = "0.6"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.poly1305]
version = "0.9"
[target.'cfg(any(target_arch = "x86_64", target_arch = "x86"))'.dependencies.cpufeatures]
version = "0.3"
[lints.clippy]
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
undocumented_unsafe_blocks = "deny"
[lints.rust]
missing_docs = "deny"
unreachable_pub = "deny"
unused_lifetimes = "deny"
unused_qualifications = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(halftime_backend, values("soft"))']
[profile.bench]
lto = "fat"
codegen-units = 1
[profile.release]
lto = "fat"
codegen-units = 1