[package]
edition = "2024"
name = "ab-aligned-buffer"
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 = "Efficient abstraction for memory buffers aligned to 16 bytes (u128) with both owned and shared variants"
readme = false
keywords = [
"alignment",
"aligned",
"buffer",
"rc",
"no-std",
]
license = "0BSD"
repository = "https://github.com/nazar-pc/abundance"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "ab_aligned_buffer"
path = "src/lib.rs"
[dependencies.stable_deref_trait]
version = "1.2.1"
default-features = false
[dependencies.yoke]
version = "0.8.1"
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