Cargo Features

[dependencies]
nickel-lang-core = { version = "0.10.0", default-features = false, features = ["clap", "markdown", "repl", "repl-wasm", "format", "metrics", "nix-experimental", "bytecode-experimental", "benchmark-ci", "doc"] }
default = doc, format, markdown, repl

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

clap

Enables clap

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

repl-wasm

Enables js-sys, serde-wasm-bindgen ^0.5.0, serde_repr, and wasm-bindgen =0.2.91

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

format default

Enables topiary-core, topiary-queries, and tree-sitter-nickel

Affects nickel-lang-core::format

metrics

Enables metrics ^0.21

nix-experimental

Enables cxx, cxx-build, and pkg-config

Affects nickel-lang-core::nix_ffi

bytecode-experimental

Enables bumpalo

Affects nickel-lang-core::bytecode

benchmark-ci
doc default

Enables comrak ^0.24.0