Cargo Features

diplomat_core has no features set by default.

[dependencies]
diplomat_core = { version = "0.9.0", features = ["hir", "displaydoc"] }
hir = either

Enable the higher level IR

Affects diplomat_core::hir

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.

displaydoc implicit feature

Enables displaydoc

displaydoc:

A derive macro for implementing the display Trait via a doc comment and string interpolation

either hir?