Cargo Features

[dependencies]
mantra-lang-tracing = { version = "0.7.0", default-features = false, features = ["collect", "extract"] }
default = collect

The collect feature is set by default whenever mantra-lang-tracing is added without default-features = false somewhere in the dependency tree.

collect default = extract

Enables cc, lsp-types, serde_json, and tree-sitter ^0.22.0

Affects mantra-lang-tracing::collect, mantra-lang-tracing::lsif_graph

extract collect

Enables proc-macro2 and regex

Affects mantra-lang-tracing::extract