[package]
edition = "2024"
name = "ab-blake3"
version = "0.1.0"
authors = [
"Nazar Mokrynskyi <nazar@mokrynskyi.com>",
"Jack O'Connor <oconnor663@gmail.com>",
"Samuel Neves",
]
build = false
include = [
"/src",
"/Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimized and more exotic APIs around BLAKE3 (const fn and GPU-friendly)"
readme = false
keywords = [
"crypto",
"const",
"blake3",
"no-std",
]
license = "0BSD"
repository = "https://github.com/nazar-pc/abundance"
[package.metadata.docs.rs]
all-features = true
[features]
no-panic = [
"dep:no-panic",
"blake3?/no_avx512",
]
[lib]
name = "ab_blake3"
path = "src/lib.rs"
[dependencies.blake3]
version = "1.8.3"
optional = true
default-features = false
[dependencies.no-panic]
version = "0.1.36"
optional = true
[target.'cfg(not(target_arch = "spirv"))'.dependencies.blake3]
version = "1.8.3"
default-features = false
[lints.clippy]
allow_attributes = "warn"
as_pointer_underscore = "warn"
as_ptr_cast_mut = "deny"
assigning_clones = "warn"
cast_possible_wrap = "warn"
cast_sign_loss = "warn"
ptr_as_ptr = "warn"
undocumented_unsafe_blocks = "warn"
[lints.rust]
missing_debug_implementations = "warn"
rust_2018_idioms = "warn"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 1
check-cfg = ['cfg(target_arch, values("spirv"))']
[lints.rust.unreachable_pub]
level = "warn"
priority = 0