Cargo Features

[dependencies]
kcl-lib = { version = "0.2.29", default-features = false, features = ["cli", "dhat-heap", "disable-println", "engine", "pyo3", "lsp-test-util", "tabled"] }
default = engine

The engine feature is set by default whenever kcl-lib is added without default-features = false somewhere in the dependency tree.

cli

Enables clap

dhat-heap

Enables dhat

disable-println

For the lsp server, when run with stdout for rpc we want to disable println.
This is used for editor extensions that use the lsp server.

engine default

Affects engine::conn, engine::conn_wasm

pyo3

Enables pyo3 ^0.22.6

lsp-test-util

Helper functions also used in benchmarks.

tabled

Enables tabled ^0.15.0