[package]
name = "snafu"
version = "0.7.5"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
edition = "2018"
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", "no_std"]
categories = ["rust-patterns", "no-std"]
exclude = [
"/.cirrus.yml",
"/.gitignore",
"/rust-toolchain",
]
[package.metadata.docs.rs]
features = [ "std", "backtraces", "futures", "guide" ]
[features]
default = ["std", "rust_1_46"]
std = []
unstable-core-error = []
rust_1_39 = ["snafu-derive/rust_1_39"]
rust_1_46 = ["rust_1_39", "snafu-derive/rust_1_46"]
rust_1_61 = ["rust_1_46", "snafu-derive/rust_1_61"]
backtraces = ["std", "backtrace"]
backtraces-impl-backtrace-crate = ["backtraces"]
unstable-backtraces-impl-std = ["backtraces-impl-std", "snafu-derive/unstable-backtraces-impl-std"]
backtraces-impl-std = []
unstable-provider-api = ["snafu-derive/unstable-provider-api"]
unstable-try-trait = []
futures = ["futures-core-crate", "pin-project"]
guide = []
"internal-dev-dependencies" = ["futures-crate"]
[workspace]
exclude = ["compatibility-tests"]
[dependencies]
snafu-derive = { path = "snafu-derive", version = "0.7.5" }
doc-comment = { version = "0.3.1", default-features = false }
backtrace = { version = "0.3.0", optional = true }
futures-crate = { package = "futures", version = "0.3.0", optional = true, default-features = false }
futures-core-crate = { package = "futures-core", version = "0.3.0", optional = true, default-features = false }
pin-project = { version = "1.0", optional = true, default-features = false }