21 breaking releases
Uses new Rust 2024
| new 0.31.0 | Jan 2, 2026 |
|---|---|
| 0.30.0 | Dec 11, 2025 |
| 0.29.0 | Nov 7, 2025 |
| 0.21.0 | Jul 14, 2025 |
#1622 in Parser implementations
101 downloads per month
Used in 13 crates
(3 directly)
5KB
cloud_terrastodon_relative_location
A helper for converting std::panic::Location to relative paths with displayed.
When crossing crate boundaries calling a function annotated with
#[track_caller]
the value returned by
std::panic::Location::caller()
uses an absolute path.
This crate strips the path segments that are also present in the path of this crate at build time.
This means it probably won't work outside of building Cloud Terrastodon
ㄟ( ▔, ▔ )ㄏ