Crates.io | hv-lease-tracker |
lib.rs | hv-lease-tracker |
version | 0.1.0 |
source | src |
created_at | 2021-11-12 21:09:56.9798 |
updated_at | 2021-11-12 21:09:56.9798 |
description | no-std compatible tracking of borrow origins, for providing better diagnostics when implementing interior mutability primitives |
homepage | |
repository | https://github.com/sdleffler/hv-dev |
max_upload_size | |
id | 481117 |
size | 7,230 |
LeaseTracker
implements a simple system using guards and the Rust core::panic::Location
API to
track and provide information on the source locations of borrows for when interior mutability
primitives you write fail.
no-std
compatible; uses alloc
for Arc
and spinlocks for very short critical sections.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.