[package]
edition = "2024"
name = "ab-chacha8"
version = "0.1.0"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
build = false
include = [
"/src",
"/Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Small GPU-friendly software implementation of ChaCha8"
readme = false
keywords = [
"crypto",
"chacha8",
"no-std",
]
license = "0BSD"
repository = "https://github.com/nazar-pc/abundance"
[package.metadata.docs.rs]
all-features = true
[features]
no-panic = ["dep:no-panic"]
[lib]
name = "ab_chacha8"
path = "src/lib.rs"
[dependencies.no-panic]
version = "0.1.36"
optional = true
[dev-dependencies.chacha20]
version = "0.10.0"
features = ["cipher"]
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