Cargo Features

[dependencies]
tomlq = { version = "0.2.2", default-features = false, features = ["json", "syntax-highlighting", "bin", "color"] }
default = bin, json

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

json default

Enables serde_json

syntax-highlighting = bin

Syntax highlighting feature for the tq CLI -- optional, disabled by default.

Enables bat and console

bin default syntax-highlighting?

Enables anyhow and clap

Required by the tq binary

color

THIS FEATURE IS FOR THE PREVIOUS VERSION OF TOMLQ AND IS NOT USED BY THE TQ BINARY.
IT WILL BE REMOVED IN A FUTURE RELEASE.

Enables colored