Cargo Features
[dependencies]
ezno-parser = { version = "0.1.7", default-features = false, features = ["self-rust-tokenize", "codespan-reporting", "serde-serialize", "extras", "full-typescript"] }
- default = codespan-reporting, extras, full-typescript, self-rust-tokenize, serde-serialize
-
TODO some of these shouldn't be default
- self-rust-tokenize default
-
Enables self-rust-tokenize ^0.3 and source-map
- codespan-reporting default
-
Enables codespan-reporting of source-map
- serde-serialize default
-
Enables serde
- extras default
-
Affects
import::ImportDeclaration.is_deferred
,import::ImportDeclaration.reversed
,functions::FunctionLocationModifier
,parameters::SpreadParameterName
,interface::InterfaceDeclaration.is_nominal
… - full-typescript default
-
Some additional syntax (that I don't think should exist 😂)
Affects
import::ImportDeclaration.is_type_annotation_import_only
,expressions::TypeOrConst
,type_declarations::TypeParameter.is_constant
…