Cargo Features

refcell-lock-api has no features set by default.

[dependencies]
refcell-lock-api = { version = "0.1.0", features = ["debug-location", "debug-location-release"] }
debug-location debug-location-release?

Debug the location that borrows occur at.

This is not currently enabled by default,
because lock_api doesn't include #[track_caller]
in the appropriate places.

TODO: Once lock_api does #[track_caller], enable this by default on debug mode

debug-location-release = debug-location

Debug the location that borrows occur at,
even in release mode.