Cargo Features

[dependencies]
nickel-lang-cli = { version = "1.9.0", default-features = false, features = ["repl", "format", "metrics", "doc"] }
default = doc, format, repl

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

repl default

Enables repl of nickel-lang-core

format default

Enables tempfile, format of nickel-lang-core

metrics

Enables metrics ^0.21 and metrics-util ^0.15, metrics of nickel-lang-core

Affects cli::GlobalOptions.metrics

doc default = comrak

Enables doc of nickel-lang-core

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.

comrak doc

Enables comrak ^0.24.0