hv-lease-tracker

Crates.iohv-lease-tracker
lib.rshv-lease-tracker
version0.1.0
sourcesrc
created_at2021-11-12 21:09:56.9798
updated_at2021-11-12 21:09:56.9798
descriptionno-std compatible tracking of borrow origins, for providing better diagnostics when implementing interior mutability primitives
homepage
repositoryhttps://github.com/sdleffler/hv-dev
max_upload_size
id481117
size7,230
Shea Leffler (sdleffler)

documentation

https://docs.rs/hv-lease-tracker

README

Heavy Lease-Tracker - tracking of borrow origins for diagnostics of runtime borrow failures

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.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 187

cargo fmt