[package]
edition = "2024"
rust-version = "1.85"
name = "thistrace"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Callsite provenance (file/line/col) for thiserror #[from] conversions via #[track_caller]"
homepage = "https://github.com/acutis33/thistrace-rs"
documentation = "https://docs.rs/thistrace"
readme = "README.md"
keywords = [
"error",
"thiserror",
"diagnostics",
"track-caller",
]
categories = [
"rust-patterns",
"development-tools::debugging",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/acutis33/thistrace-rs"
resolver = "2"
[lib]
name = "thistrace"
path = "src/lib.rs"
[[test]]
name = "from_with_trace"
path = "tests/from_with_trace.rs"
[[test]]
name = "from_with_trace_skip"
path = "tests/from_with_trace_skip.rs"
[[test]]
name = "generics"
path = "tests/generics.rs"
[[test]]
name = "origin_and_bubble"
path = "tests/origin_and_bubble.rs"
[[test]]
name = "origin_custom_multiple_bubbles"
path = "tests/origin_custom_multiple_bubbles.rs"
[[test]]
name = "single_enum_multiple_layers"
path = "tests/single_enum_multiple_layers.rs"
[[test]]
name = "single_enum_wrapper_layers"
path = "tests/single_enum_wrapper_layers.rs"
[[test]]
name = "struct_variant_from"
path = "tests/struct_variant_from.rs"
[[test]]
name = "struct_variant_simple"
path = "tests/struct_variant_simple.rs"
[[test]]
name = "trace_frames_helper"
path = "tests/trace_frames_helper.rs"
[[test]]
name = "traceable_from"
path = "tests/traceable_from.rs"
[[test]]
name = "tuple_variant_with_context"
path = "tests/tuple_variant_with_context.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.thistrace-macros]
version = "0.1.0"
[dev-dependencies.thiserror]
version = "2"
[dev-dependencies.trybuild]
version = "1"