intid-allocator 0.3.2

Types to allocate and free integer ids
Documentation
[dependencies.atomic]
optional = true
version = "0.6"

[dependencies.bytemuck]
optional = true
version = "1"

[dependencies.intid]
package = "intid-core"
version = "0.3.0"

[dependencies.rustversion]
version = "1"

[features]
alloc = []
atomic = ["dep:atomic", "intid/bytemuck", "bytemuck/must_cast", "bytemuck/align_offset", "bytemuck/track_caller"]
default = ["std", "atomic"]
std = ["alloc"]

[lib]
name = "intid_allocator"
path = "src/lib.rs"

[lints.clippy]
alloc_instead_of_core = "deny"
cast-lossless = "allow"
cast-possible-truncation = "deny"
cast-possible-wrap = "deny"
cast-precision-loss = "deny"
cast-ptr-alignment = "deny"
cast-sign-loss = "deny"
char-lit-as-u8 = "deny"
fn-to-numeric-cast = "deny"
fn-to-numeric-cast-any = "deny"
fn-to-numeric-cast-with-truncation = "deny"
items-after-statements = "allow"
multiple_unsafe_ops_per_block = "deny"
must-use-candidate = "allow"
ptr_as_ptr = "allow"
redundant_test_prefix = "warn"
return_self_not_must_use = "allow"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
too-many-lines = "allow"
undocumented_unsafe_blocks = "deny"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing-docs = "deny"
unsafe-op-in-unsafe-fn = "deny"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(intid_derive_use_expander)"]
level = "warn"
priority = 0

[package]
authors = ["Techcable <git@techcable.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures", "rust-patterns", "no-std", "memory-management"]
description = "Types to allocate and free integer ids"
edition = "2021"
keywords = ["allocator", "counter", "tracker", "table", "atomic"]
license = "MIT OR Apache-2.0"
name = "intid-allocator"
readme = "README.md"
repository = "https://github.com/DuckLogic/intid.rs"
rust-version = "1.65"
version = "0.3.2"