Cargo Features

[dependencies]
error_tools = { version = "0.12.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "error_for_lib", "error_for_app"] }

= features

default = enabled, error_for_app, error_for_lib

These default features are set whenever error_tools is added without default-features = false somewhere in the dependency tree.

no_std use_alloc?
use_alloc = no_std
full = enabled, error_for_app, error_for_lib
enabled default full?

Affects error_tools::assert, error_tools::error, error_tools::dependency, error_tools::for_lib, error_tools::for_app, error_tools::protected, error_tools::orphan, error_tools::exposed, error_tools::prelude

error_for_lib default full? = thiserror
error_for_app default full? = anyhow

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

= entry

anyhow error_for_app
thiserror error_for_lib