Cargo Features

[dependencies]
diagnostics_tools = { version = "0.7.0", default-features = false, features = ["use_alloc", "full", "enabled", "diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"] }
default = diagnostics_compiletime_assertions, diagnostics_memory_layout, diagnostics_runtime_assertions, enabled

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

no_std use_alloc
full = diagnostics_compiletime_assertions, diagnostics_memory_layout, diagnostics_runtime_assertions, enabled
enabled default full?

Affects diagnostics_tools::diag, diagnostics_tools::dependency, diagnostics_tools::protected, diagnostics_tools::orphan, diagnostics_tools::exposed, diagnostics_tools::prelude

diagnostics_runtime_assertions default full? = pretty_assertions

run-time assertions

Affects diag::rta

diagnostics_compiletime_assertions default full?

compile-time assertions

Affects diag::cta

diagnostics_memory_layout default full?

Affects diag::layout

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.

pretty_assertions diagnostics_runtime_assertions