dropping-thread-local 0.1.3

A dynamically allocated ThreadLocal that ensures destructors are run on thread exit
Documentation
[[bench]]
harness = false
name = "lookup"
path = "benches/lookup.rs"

[dependencies.foldhash]
version = "0.1"

[dependencies.imbl]
version = "6"

[dependencies.intid]
features = ["nonmax"]
version = "0.3.0-alpha.3"

[dependencies.intid-allocator]
version = "0.3.0-alpha.3"

[dependencies.nonmax]
version = "0.5"

[dependencies.parking_lot]
version = "0.12"

[dev-dependencies.criterion]
version = "0.7"

[dev-dependencies.thread_local]
version = "1"

[features]
nightly = ["parking_lot/nightly"]

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

[lints.clippy]
alloc-instead-of-core = "warn"
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"
checked-conversions = "deny"
dbg_macro = "allow"
fn-to-numeric-cast = "deny"
fn-to-numeric-cast-any = "deny"
fn-to-numeric-cast-with-truncation = "deny"
macro_use_imports = "deny"
missing_safety_doc = "deny"
print_stderr = "allow"
print_stdout = "allow"
ptr_as_ptr = "allow"
std-instead-of-alloc = "warn"
std-instead-of-core = "warn"
undocumented_unsafe_blocks = "deny"

[lints.rust]
macro-use-extern-crate = "deny"
missing-docs = "deny"
rust-2024-compatibility = "warn"
unsafe-op-in-unsafe-fn = "deny"

[package]
authors = ["Techcable"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["concurrency", "data-structures", "memory-management"]
description = "A dynamically allocated ThreadLocal that ensures destructors are run on thread exit"
edition = "2024"
keywords = ["thread-local", "drop", "concurrent", "thread", "destructor"]
license = "Apache-2.0 OR MIT"
name = "dropping-thread-local"
readme = "README.md"
repository = "https://github.com/Techcable/dropping-thread-local.rs"
rust-version = "1.85"
version = "0.1.3"

[profile.bench]
debug = 2

[[test]]
name = "from_thread_local"
path = "tests/from_thread_local.rs"