[package]
name = "snafu"
version = "0.2.3"
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"]
backtraces = ["snafu-derive/backtraces", "backtrace"]
rust_1_30 = ["snafu-derive/rust_1_30"]
[workspace]
exclude = [
"compatibility-tests/compile-fail",
"compatibility-tests/v1_34",
"compatibility-tests/v1_30",
"compatibility-tests/v1_18",
"compatibility-tests/without-backtrace",
]
[dependencies]
snafu-derive = { path = "snafu-derive", version = "0.2.3" }
backtrace = { version = "0.3.0", optional = true }