| Crates.io | anyhow-source-location |
| lib.rs | anyhow-source-location |
| version | 0.2.1 |
| created_at | 2025-11-06 13:51:28.13074+00 |
| updated_at | 2025-11-06 13:51:28.13074+00 |
| description | Two simple macros that make it easy to add the source location to the anyhow context errors. |
| homepage | |
| repository | https://github.com/work-spaces/anyhow-source-location |
| max_upload_size | |
| id | 1919699 |
| size | 3,446 |
Two simple macros for adding the source location to anyhow error contexts.
To strip the full path to the source location, add this to .cargo/config.toml
[build]
rustflags = ["--remap-path-prefix=${CARGO_MANIFEST_DIR}=."]