[package]
name = "snafu"
version = "0.8.5"
authors = ["Jake Goulding <jake.goulding@gmail.com>"]
edition = "2018"
rust-version = "1.56"
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 = ["futures", "guide"]
[features]
default = ["std", "rust_1_65"]
std = []
unstable-core-error = []
rust_1_61 = ["snafu-derive/rust_1_61"]
rust_1_65 = ["rust_1_61"]
rust_1_81 = ["rust_1_65"]
backtraces-impl-backtrace-crate = ["backtrace"]
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.8.5" }
backtrace = { version = "0.3.0", optional = true }
futures-crate = { package = "futures", version = "0.3.11", 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.2", optional = true, default-features = false }