cloud_terrastodon_relative_location

Crates.iocloud_terrastodon_relative_location
lib.rscloud_terrastodon_relative_location
version0.27.0
created_at2025-04-29 19:57:06.483775+00
updated_at2025-09-18 19:46:42.588334+00
descriptionA helper for converting std::panic::Location to relative paths with displayed
homepage
repositoryhttps://github.com/AAFC-Cloud/Cloud-Terrastodon.git
max_upload_size
id1653994
size5,867
(TeamDman)

documentation

README

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

ㄟ( ▔, ▔ )ㄏ

Commit count: 0

cargo fmt