Cargo Features

[dependencies]
kdl-script = { version = "0.2.1", default-features = false, features = ["cli", "eval"] }
default = cli

The cli feature is set by default whenever kdl-script is added without default-features = false somewhere in the dependency tree.

cli default = clap, eval, serde_json, tracing-subscriber

CLI interface for the binary

Enables fancy of miette ^5.10.0

Required by the binary

eval cli

The code for evaluating a compiled program (not needed for abi-cafe)

Affects kdl-script::eval, parse::FuncDecl.body, types::Func.body

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.

clap cli
serde_json cli
tracing-subscriber cli