[build-dependencies.rustc_version]
default-features = false
version = "=0.4.1"
[dependencies.anyhow]
default-features = false
optional = true
version = ">=1.0.73"
[dependencies.eyre]
default-features = false
optional = true
version = ">=0.6"
[dependencies.futures-core]
default-features = false
optional = true
version = ">=0.3"
[dependencies.pin-project-lite]
default-features = false
optional = true
version = "=0.2.16"
[dependencies.serde]
default-features = false
optional = true
version = ">=1"
[dependencies.spin]
default-features = false
features = ["rwlock", "once"]
optional = true
version = ">=0.9"
[dependencies.tracing]
default-features = false
optional = true
version = ">=0.1"
[dependencies.tracing-error]
default-features = false
optional = true
version = ">=0.2"
[dev-dependencies.ansi-to-html]
default-features = false
version = "=0.2.2"
[dev-dependencies.expect-test]
default-features = false
version = "=1.5.1"
[dev-dependencies.futures]
default-features = false
features = ["executor"]
version = "=0.3.31"
[dev-dependencies.futures-util]
default-features = false
version = "=0.3.31"
[dev-dependencies.insta]
default-features = false
features = ["filters", "ron"]
version = "=1.43.1"
[dev-dependencies.owo-colors]
default-features = false
version = "=4.2.2"
[dev-dependencies.regex]
default-features = false
features = ["perf", "unicode"]
version = "=1.11.1"
[dev-dependencies.serde]
default-features = false
features = ["derive"]
version = "=1.0.219"
[dev-dependencies.supports-color]
default-features = false
version = "=3.0.2"
[dev-dependencies.supports-unicode]
default-features = false
version = "=3.0.0"
[dev-dependencies.thiserror]
default-features = false
version = "=2.0.12"
[dev-dependencies.tracing]
default-features = false
features = ["attributes"]
version = "=0.1.41"
[dev-dependencies.tracing-subscriber]
default-features = false
version = "=0.3.19"
[dev-dependencies.trybuild]
default-features = false
version = "=1.0.106"
[[example]]
doc-scrape-examples = true
name = "demo"
path = "examples/demo.rs"
required-features = ["std"]
[[example]]
doc-scrape-examples = true
name = "detect"
path = "examples/detect.rs"
required-features = ["std"]
[[example]]
doc-scrape-examples = true
name = "exit_code"
path = "examples/exit_code.rs"
required-features = ["std"]
[[example]]
doc-scrape-examples = true
name = "parse_config"
path = "examples/parse_config.rs"
required-features = ["std"]
[features]
anyhow = ["dep:anyhow"]
backtrace = ["std"]
default = ["std", "backtrace"]
eyre = ["dep:eyre", "std"]
futures = ["dep:futures-core", "dep:pin-project-lite"]
hooks = ["dep:spin"]
serde = ["dep:serde"]
spantrace = ["dep:tracing-error", "tracing", "std"]
std = ["anyhow?/std"]
tracing = ["dep:tracing"]
unstable = []
[lib]
name = "bigerror_error_stack"
path = "src/lib.rs"
[lints.clippy]
absolute_paths = "allow"
allow_attributes_without_reason = "allow"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "allow"
as_conversions = "allow"
blanket_clippy_restriction_lints = "allow"
cognitive_complexity = "allow"
default_numeric_fallback = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
impl_trait_in_params = "allow"
implicit_return = "allow"
iter_over_hash_type = "allow"
let_underscore_must_use = "allow"
missing_assert_message = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
multiple_inherent_impl = "allow"
multiple_unsafe_ops_per_block = "allow"
panic = "allow"
partial_pub_fields = "allow"
pattern_type_mismatch = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
redundant_pub_crate = "allow"
ref_patterns = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
tests_outside_test_module = "allow"
unimplemented = "allow"
unneeded_field_pattern = "allow"
unreachable = "allow"
unwrap_in_result = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.restriction]
level = "warn"
priority = -1
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[package]
authors = ["HASH"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["rust-patterns", "no-std"]
description = "A context-aware error-handling library that supports arbitrary attached user data"
documentation = "https://docs.rs/error-stack"
edition = "2021"
exclude = ["package.json", "macros", "experimental"]
keywords = ["error", "errorstack", "error-handling", "report", "no_std"]
license = "MIT OR Apache-2.0"
name = "bigerror-error-stack"
readme = "README.md"
repository = "https://github.com/hashintel/hash/tree/main/libs/error-stack"
resolver = "3"
rust-version = "1.83.0"
version = "0.6.0-alpha"
[package.metadata.cargo-shear]
ignored = ["thiserror", "owo-colors"]
[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Z", "unstable-options", "-Z", "rustdoc-scrape-examples"]
targets = ["x86_64-unknown-linux-gnu"]
[[package.metadata.sync.turborepo.extra-dependencies]]
name = "@rust/error-stack-macros"
version = "0.0.0-reserved-private"
[[test]]
name = "common"
path = "tests/common.rs"
test = false
[[test]]
name = "compiletest"
path = "tests/compiletest.rs"
[[test]]
name = "test_attach"
path = "tests/test_attach.rs"
[[test]]
name = "test_attach_printable"
path = "tests/test_attach_printable.rs"
[[test]]
name = "test_backtrace"
path = "tests/test_backtrace.rs"
[[test]]
name = "test_change_context"
path = "tests/test_change_context.rs"
[[test]]
name = "test_compatibility"
path = "tests/test_compatibility.rs"
[[test]]
name = "test_conversion"
path = "tests/test_conversion.rs"
[[test]]
name = "test_debug"
path = "tests/test_debug.rs"
[[test]]
name = "test_display"
path = "tests/test_display.rs"
[[test]]
name = "test_downcast"
path = "tests/test_downcast.rs"
[[test]]
name = "test_extend"
path = "tests/test_extend.rs"
[[test]]
name = "test_frame"
path = "tests/test_frame.rs"
[[test]]
name = "test_iter"
path = "tests/test_iter.rs"
[[test]]
name = "test_macros"
path = "tests/test_macros.rs"
[[test]]
name = "test_provision"
path = "tests/test_provision.rs"
[[test]]
name = "test_serialize"
path = "tests/test_serialize.rs"
[[test]]
name = "test_span_trace"
path = "tests/test_span_trace.rs"