Cargo Features

[dependencies]
nickel-lang = { version = "1.0.1", default-features = false, features = ["markdown", "repl", "repl-wasm", "doc"] }
default = doc, markdown, repl

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

markdown default = termimad

Affects query_print::MarkdownRenderer

repl default = ansi_term, rustyline, rustyline-derive

Affects repl::rustyline_frontend, repl::print_help

repl-wasm = js-sys, serde_repr, wasm-bindgen

Affects repl::simple_frontend, repl::wasm_frontend, repl::print_help

doc default = comrak

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.

termimad markdown

Enables termimad ^0.23.0

ansi_term repl
rustyline repl

Enables rustyline ^11.0

rustyline-derive repl

Enables rustyline-derive ^0.8.0

wasm-bindgen repl-wasm?

Enables wasm-bindgen =0.2.83

The wasm-bindgen version is pinned (=) because it must be a version available in Nixpkgs.

js-sys repl-wasm?
serde_repr repl-wasm?
comrak doc

Enables comrak ^0.17.0