error_tools 0.37.0

Basic exceptions handling mechanism
Documentation
[dependencies.anyhow]
optional = true
version = "~1.0"

[dependencies.thiserror]
optional = true
version = "~1.0"

[dev-dependencies.test_tools]
features = ["full"]
version = "~0.16.0"

[[example]]
name = "err_with_example"
path = "examples/err_with_example.rs"

[[example]]
name = "error_tools_trivial"
path = "examples/error_tools_trivial.rs"

[[example]]
name = "replace_anyhow"
path = "examples/replace_anyhow.rs"

[[example]]
name = "replace_thiserror"
path = "examples/replace_thiserror.rs"

[features]
default = ["enabled", "error_typed", "error_untyped"]
diagnostics_runtime_assertions = []
enabled = []
error_typed = ["thiserror"]
error_untyped = ["anyhow"]
full = ["enabled"]
no_std = []
use_alloc = ["no_std"]

[lib]
name = "error_tools"
path = "src/lib.rs"

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
struct_excessive_bools = "allow"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']
level = "warn"
priority = 0

[package]
authors = ["Kostiantyn Wandalen <wandalen@obox.systems>", "Dmytro Kryvoruchko <dmytro.kr@obox.systems>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["algorithms", "development-tools"]
description = """
Basic exceptions handling mechanism
"""
documentation = "https://docs.rs/error_tools"
edition = "2021"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/error_tools"
keywords = ["fundamental", "general-purpose"]
license = "MIT"
name = "error_tools"
readme = "readme.md"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/error_tools"
version = "0.37.0"

[package.metadata.docs.rs]
all-features = false
features = ["full"]

[[test]]
name = "example_quality_test"
path = "tests/example_quality_test.rs"

[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"