snafu 0.1.4

An ergonomic error handling library
Documentation
[package]
name = "snafu"
version = "0.1.4"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]

readme = "README.md"
description = "An ergonomic error handling library"
documentation = "https://docs.rs/snafu"
repository = "https://github.com/shepmaster/snafu"

license = "MIT OR Apache-2.0"

keywords = ["error", "ergonomic", "library"]
categories = ["rust-patterns"]

exclude = [
  "/.cirrus.yml",
  "/.gitignore",
  "/rust-toolchain",
]

[features]
default = ["rust_1_30", "backtraces"]

# Adds the backtrace type
backtraces = ["snafu-derive/backtraces", "backtrace"]

# New methods on `Error`; re-export of proc-macro
rust_1_30 = ["snafu-derive/rust_1_30"]

# The `snafu::display` attribute
unstable_display_attribute = ["snafu-derive/unstable_display_attribute"]

[workspace]
# The compatibility tests each set feature flags for the library and
# cannot be in the same crate graph.
exclude = [
  "compatibility-tests/nightly",
  "compatibility-tests/v1_30",
  "compatibility-tests/v1_18",
  "compatibility-tests/without-backtrace",
]

[dependencies]
snafu-derive = { path = "snafu-derive", version = "0.1.4" }
backtrace = { version = "0.3.0", optional = true }