Skip to main content

DATA_FORMAT_TARGETS

Constant DATA_FORMAT_TARGETS 

Source
pub const DATA_FORMAT_TARGETS: &[LanguageTarget];
Expand description

Required data-exchange / interchange format targets.

Each entry has a wired parser and a round-trip LANGUAGE_FIXTURES entry. JSON, YAML, TOML, XML, INI, protobuf, and GraphQL use tree-sitter grammars; CSV and JSON5 use small lossless parsers because their published tree-sitter bindings still target the incompatible tree-sitter ~0.20 ABI.