snafu 0.9.2

An ergonomic error handling library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
rust-version = "1.65"
name = "snafu"
version = "0.9.2"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
build = false
exclude = [
    "/.github",
    "/.gitignore",
    "/rust-toolchain",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An ergonomic error handling library"
documentation = "https://docs.rs/snafu"
readme = "README.md"
keywords = [
    "error",
    "ergonomic",
    "library",
    "no_std",
]
categories = [
    "rust-patterns",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/shepmaster/snafu"

[package.metadata.docs.rs]
features = [
    "futures",
    "guide",
]

[features]
alloc = []
backtrace = []
backtraces-impl-backtrace-crate = ["dep:backtrace"]
default = [
    "std",
    "rust_1_81",
]
futures = [
    "dep:futures-core",
    "dep:pin-project",
]
futures-core-crate = []
futures-crate = []
guide = []
internal-dev-dependencies = ["dep:futures"]
pin-project = []
rust_1_81 = []
std = ["alloc"]
unstable-provider-api = ["snafu-derive/unstable-provider-api"]
unstable-try-trait = []

[lib]
name = "snafu"
path = "src/lib.rs"

[[test]]
name = "backtrace"
path = "tests/backtrace.rs"

[[test]]
name = "backtrace-optional"
path = "tests/backtrace-optional.rs"

[[test]]
name = "backtrace-optional-enabled"
path = "tests/backtrace-optional-enabled.rs"

[[test]]
name = "backtrace_attributes"
path = "tests/backtrace_attributes.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "boxed_error_trait_object"
path = "tests/boxed_error_trait_object.rs"

[[test]]
name = "boxing-errors"
path = "tests/boxing-errors.rs"

[[test]]
name = "build-leaf-error"
path = "tests/build-leaf-error.rs"

[[test]]
name = "context-selectors-make-dead-code"
path = "tests/context-selectors-make-dead-code.rs"

[[test]]
name = "context_selector_name"
path = "tests/context_selector_name.rs"

[[test]]
name = "default_error_display"
path = "tests/default_error_display.rs"

[[test]]
name = "display-shorthand"
path = "tests/display-shorthand.rs"

[[test]]
name = "doc_comment"
path = "tests/doc_comment.rs"

[[test]]
name = "ensure"
path = "tests/ensure.rs"

[[test]]
name = "error_chain"
path = "tests/error_chain.rs"

[[test]]
name = "generics"
path = "tests/generics.rs"

[[test]]
name = "generics_with_default"
path = "tests/generics_with_default.rs"

[[test]]
name = "implicit"
path = "tests/implicit.rs"

[[test]]
name = "location"
path = "tests/location.rs"

[[test]]
name = "mapping_result_without_try_operator"
path = "tests/mapping_result_without_try_operator.rs"

[[test]]
name = "module"
path = "tests/module.rs"

[[test]]
name = "multiple_attributes"
path = "tests/multiple_attributes.rs"

[[test]]
name = "name-conflicts"
path = "tests/name-conflicts.rs"

[[test]]
name = "nested_self"
path = "tests/nested_self.rs"

[[test]]
name = "no_context"
path = "tests/no_context.rs"

[[test]]
name = "opaque"
path = "tests/opaque.rs"

[[test]]
name = "options"
path = "tests/options.rs"

[[test]]
name = "premade_error"
path = "tests/premade_error.rs"

[[test]]
name = "raw_idents"
path = "tests/raw_idents.rs"

[[test]]
name = "recursive_error"
path = "tests/recursive_error.rs"

[[test]]
name = "report"
path = "tests/report.rs"

[[test]]
name = "self_in_trait_bounds"
path = "tests/self_in_trait_bounds.rs"

[[test]]
name = "send_between_threads"
path = "tests/send_between_threads.rs"

[[test]]
name = "single_use_lifetimes_lint"
path = "tests/single_use_lifetimes_lint.rs"

[[test]]
name = "source_attributes"
path = "tests/source_attributes.rs"

[[test]]
name = "stringly_typed"
path = "tests/stringly_typed.rs"

[[test]]
name = "structs"
path = "tests/structs/main.rs"

[[test]]
name = "transparent"
path = "tests/transparent.rs"

[[test]]
name = "visibility"
path = "tests/visibility.rs"

[dependencies.backtrace]
version = "0.3.0"
features = ["std"]
optional = true
default-features = false

[dependencies.futures]
version = "0.3.11"
features = ["executor"]
optional = true
default-features = false

[dependencies.futures-core]
version = "0.3.0"
optional = true
default-features = false

[dependencies.pin-project]
version = "1.0.2"
optional = true
default-features = false

[dependencies.snafu-derive]
version = "0.9.2"