weakref 0.2.2

Copy+static reference type which checks liveness at runtime.
Documentation
[package]
name = "weakref"
version = "0.2.2"
edition = "2021"
authors = ["Sam Sartor <me@samsartor.com>"]
description = "Copy+static reference type which checks liveness at runtime."
documentation = "https://docs.rs/weakref"
readme = "README.md"
repository = "https://github.com/samsartor/weakref"
license = "MIT"
keywords = ["generational", "reference", "copy"]
categories = ["memory-management"]
rust-version = "1.83"

[dependencies]
crossbeam-epoch = "0.9"
crossbeam-queue = "0.3"
# When using MIRI (as of July 2025)
#crossbeam-epoch = { git = "https://github.com/crossbeam-rs/crossbeam.git" }
#crossbeam-queue = { git = "https://github.com/crossbeam-rs/crossbeam.git" }


[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }

[target.'cfg(loom)'.dependencies]
loom = "0.7"

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }

[[bench]]
name = "weakref_bench"
harness = false