[[bench]]
harness = false
name = "at_depth"
path = "benches/at_depth.rs"
[[bench]]
harness = false
name = "inline_first"
path = "benches/inline_first.rs"
[[bench]]
harness = false
name = "nested_loops"
path = "benches/nested_loops.rs"
[[bench]]
harness = false
name = "overhead"
path = "benches/overhead.rs"
[dependencies.owo-colors]
default-features = false
optional = true
version = "4.2"
[dependencies.smallvec]
default-features = false
features = ["const_generics"]
optional = true
version = "1.13"
[dependencies.tinyvec]
default-features = false
features = ["alloc"]
optional = true
version = "1.9"
[dev-dependencies.anyhow]
version = "1.0.100"
[dev-dependencies.backtrace]
version = "0.3"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8"
[dev-dependencies.static_assertions]
version = "1.1"
[dev-dependencies.thiserror]
version = "2.0.17"
[[example]]
name = "anyhow_thiserror"
path = "examples/anyhow_thiserror.rs"
[[example]]
name = "backtrace_frame_count"
path = "examples/backtrace_frame_count.rs"
[[example]]
name = "basic_setup"
path = "examples/basic_setup.rs"
[[example]]
name = "display_quality"
path = "examples/display_quality.rs"
[[example]]
name = "error_meta"
path = "examples/error_meta.rs"
[[example]]
name = "function_names"
path = "examples/function_names.rs"
[[example]]
name = "patterns"
path = "examples/patterns.rs"
[[example]]
name = "pretty_output"
path = "examples/pretty_output.rs"
[[example]]
name = "stack_trace"
path = "examples/stack_trace.rs"
[[example]]
name = "trace_comparison"
path = "examples/trace_comparison.rs"
[[example]]
name = "use_cases"
path = "examples/use_cases.rs"
[features]
_html = []
_smallvec-128-bytes = ["dep:smallvec"]
_smallvec-256-bytes = ["dep:smallvec"]
_termcolor = ["dep:owo-colors"]
_tinyvec-128-bytes = ["dep:tinyvec"]
_tinyvec-256-bytes = ["dep:tinyvec"]
_tinyvec-512-bytes = ["dep:tinyvec"]
_tinyvec-64-bytes = ["dep:tinyvec"]
default = []
std = []
[lib]
name = "whereat"
path = "src/lib.rs"
[lints.rust]
unsafe_code = "deny"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["rust-patterns", "no-std"]
description = "Lightweight error location tracking with small sizeof and no_std support"
edition = "2024"
keywords = ["error", "trace", "stacktrace", "track_caller", "no_std"]
license = "MIT OR Apache-2.0"
name = "whereat"
readme = "README.md"
repository = "https://github.com/lilith/whereat"
rust-version = "1.85"
version = "0.1.3"
[[test]]
name = "crate_info"
path = "tests/crate_info.rs"
[[test]]
name = "cross_crate"
path = "tests/cross_crate.rs"
[[test]]
name = "error_ergonomics"
path = "tests/error_ergonomics.rs"
[[test]]
name = "frame_surgery"
path = "tests/frame_surgery.rs"
[[test]]
name = "output_format"
path = "tests/output_format.rs"
[[test]]
name = "worst_cases"
path = "tests/worst_cases.rs"