Cargo Features

[dependencies]
deno_graph = { version = "0.95.1", default-features = false, features = ["fast_check", "symbols", "swc", "ecosystem_test"] }
default = ecosystem_test, fast_check

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

fast_check default = symbols, twox-hash

Enables transpiling of deno_ast

this is optional in order to support using parsers other than swc

Affects fast_check::build_fast_check_type_graph, graph::FastCheckTypeModuleSlot, graph::FastCheckTypeModule, graph::JsModule.fast_check, graph::WorkspaceFastCheckOption, graph::BuildFastCheckTypeGraphOptions, deno_graph::fast_check

symbols fast_check = swc

Enables transforms and utils of deno_ast

Affects deno_graph::symbols

swc symbols? = deno_ast

Enables visit of deno_ast

Affects deno_graph::ast, deno_graph::ParseModuleFromAstOptions, deno_graph::parse_module_from_ast

ecosystem_test default

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

deno_ast fast_check swc? symbols?
twox-hash fast_check

Enables twox-hash ^1.6.3