# 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.56" name = "snafu" version = "0.8.5" authors = ["Jake Goulding "] build = false exclude = [ "/.cirrus.yml", "/.gitignore", "/rust-toolchain", ] 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", ] [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_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 = "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 = "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" optional = true [dependencies.futures-core-crate] version = "0.3.0" optional = true default-features = false package = "futures-core" [dependencies.futures-crate] version = "0.3.11" optional = true default-features = false package = "futures" [dependencies.pin-project] version = "1.0.2" optional = true default-features = false [dependencies.snafu-derive] version = "0.8.5" [features] backtraces-impl-backtrace-crate = ["backtrace"] default = [ "std", "rust_1_65", ] futures = [ "futures-core-crate", "pin-project", ] guide = [] internal-dev-dependencies = ["futures-crate"] rust_1_61 = ["snafu-derive/rust_1_61"] rust_1_65 = ["rust_1_61"] rust_1_81 = ["rust_1_65"] std = [] unstable-core-error = [] unstable-provider-api = ["snafu-derive/unstable-provider-api"] unstable-try-trait = []