Cargo Features

nickel-lang-core = { version = "0.6.0", default-features = false, features = ["markdown", "repl", "repl-wasm", "metrics", "nix-experimental", "doc"] }
default = doc, markdown, repl

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

markdown default

Enables termimad ^0.23.1

Affects query_print::MarkdownRenderer

repl default

Enables ansi_term, rustyline ^11.0, and rustyline-derive ^0.8.0

Affects repl::rustyline_frontend, repl::print_help


Enables js-sys, serde_repr, and wasm-bindgen =0.2.91

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


Enables metrics ^0.21


Enables cxx, cxx-build, and pkg-config

Affects nickel-lang-core::nix_ffi

doc default

Enables comrak ^0.17.0