# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "deno_ast" version = "0.44.0" authors = ["the Deno authors"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Source text parsing, lexing, and AST related functionality for Deno" homepage = "https://deno.land/" documentation = "https://docs.rs/deno_ast" readme = "README.md" license = "MIT" repository = "https://github.com/denoland/deno_ast" [package.metadata.docs.rs] all-features = true [lib] name = "deno_ast" path = "src/lib.rs" [dependencies.base64] version = "0.21.6" optional = true [dependencies.deno_error] version = "0.5.0" [dependencies.deno_media_type] version = "0.2.1" [dependencies.deno_terminal] version = "0.2.0" [dependencies.dprint-swc-ext] version = "0.20.0" [dependencies.once_cell] version = "1.19.0" [dependencies.percent-encoding] version = "2.3.1" [dependencies.serde] version = "1.0.144" features = ["derive"] [dependencies.sourcemap] version = "9.0.0" optional = true [dependencies.swc_atoms] version = "=0.6.7" [dependencies.swc_bundler] version = "=0.237.0" optional = true [dependencies.swc_common] version = "=0.37.5" [dependencies.swc_config] version = "=0.1.15" optional = true [dependencies.swc_config_macro] version = "=0.1.4" optional = true [dependencies.swc_ecma_ast] version = "=0.118.2" features = ["serde-impl"] [dependencies.swc_ecma_codegen] version = "=0.155.1" optional = true [dependencies.swc_ecma_codegen_macros] version = "=0.7.7" optional = true [dependencies.swc_ecma_loader] version = "=0.49.1" optional = true [dependencies.swc_ecma_parser] version = "=0.149.1" [dependencies.swc_ecma_transforms_base] version = "=0.145.0" optional = true [dependencies.swc_ecma_transforms_classes] version = "=0.134.0" optional = true [dependencies.swc_ecma_transforms_compat] version = "=0.171.0" optional = true [dependencies.swc_ecma_transforms_macros] version = "=0.5.5" optional = true [dependencies.swc_ecma_transforms_optimization] version = "=0.208.0" optional = true [dependencies.swc_ecma_transforms_proposal] version = "=0.179.0" optional = true [dependencies.swc_ecma_transforms_react] version = "=0.191.0" optional = true [dependencies.swc_ecma_transforms_typescript] version = "=0.198.1" optional = true [dependencies.swc_ecma_utils] version = "=0.134.2" optional = true [dependencies.swc_ecma_visit] version = "=0.104.8" optional = true [dependencies.swc_eq_ignore_macros] version = "=0.1.4" [dependencies.swc_graph_analyzer] version = "=0.26.0" optional = true [dependencies.swc_macros_common] version = "=0.3.13" optional = true [dependencies.swc_trace_macro] version = "=0.1.3" optional = true [dependencies.swc_visit] version = "=0.6.2" optional = true [dependencies.swc_visit_macros] version = "=0.5.13" optional = true [dependencies.text_lines] version = "0.6.0" features = ["serialization"] [dependencies.thiserror] version = "2" [dependencies.unicode-width] version = "0.1.13" [dependencies.url] version = "2.3.1" features = ["serde"] [dev-dependencies.pretty_assertions] version = "1.3.0" [dev-dependencies.serde_json] version = "1.0.87" features = ["preserve_order"] [features] bundler = [ "swc_bundler", "swc_ecma_transforms_optimization", "swc_graph_analyzer", ] cjs = [ "utils", "visit", ] codegen = [ "swc_ecma_codegen", "swc_ecma_codegen_macros", "swc_macros_common", ] compat = [ "transforms", "swc_ecma_transforms_compat", "swc_trace_macro", "swc_config", "swc_config_macro", ] dep_analysis = ["visit"] emit = [ "base64", "codegen", "sourcemap", "dep:sourcemap", ] proposal = [ "transforms", "swc_ecma_transforms_proposal", "swc_ecma_transforms_classes", "swc_ecma_transforms_macros", "swc_macros_common", ] react = [ "transforms", "swc_ecma_transforms_react", "swc_ecma_transforms_macros", "swc_config", "swc_config_macro", "swc_macros_common", ] scopes = [ "view", "utils", "visit", ] sourcemap = ["dprint-swc-ext/sourcemap"] transforms = [ "swc_ecma_loader", "swc_ecma_transforms_base", ] transpiling = [ "emit", "proposal", "react", "transforms", "typescript", "utils", "visit", ] typescript = [ "transforms", "swc_ecma_transforms_typescript", ] utils = ["swc_ecma_utils"] view = ["dprint-swc-ext/view"] visit = [ "swc_ecma_visit", "swc_visit", "swc_visit_macros", "swc_macros_common", ]