Cargo Features
[dependencies]
diagnostics_tools = { version = "0.10.0", default-features = false, features = ["no_std", "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
somewhere in the dependency tree.default-features = false - no_std use_alloc?
- use_alloc = no_std
- full = diagnostics_compiletime_assertions, diagnostics_memory_layout, diagnostics_runtime_assertions, enabled
- enabled default full?
-
Affects
diagnostics_tools::diag
,diagnostics_tools::dependency
,diagnostics_tools::own
,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.