forked from denoland/deno_ast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (44 loc) · 1.71 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "deno_ast"
version = "0.15.0"
authors = ["the Deno authors"]
documentation = "https://docs.rs/deno_ast"
edition = "2021"
homepage = "https://deno.land/"
license = "MIT"
repository = "https://github.com/denoland/deno_ast"
description = "Source text parsing, lexing, and AST related functionality for Deno"
[package.metadata.docs.rs]
all-features = true
[features]
bundler = ["swc_bundler"]
cjs = ["utils", "visit"]
codegen = ["swc_ecmascript/codegen"]
compat = ["swc_ecmascript/compat"]
dep_graph = ["swc_ecmascript/dep_graph"]
minifier = ["swc_ecmascript/minifier"]
module_specifier = ["data-url", "url"]
preset_env = ["swc_ecmascript/preset_env"]
proposal = ["swc_ecmascript/proposal"]
react = ["swc_ecmascript/react"]
scopes = ["view", "utils", "visit"]
sourcemap = ["dprint-swc-ext/sourcemap"]
transforms = ["swc_ecmascript/transforms"]
transpiling = ["codegen", "module_specifier", "proposal", "react", "sourcemap", "transforms", "typescript", "utils", "visit", "anyhow", "base64"]
typescript = ["swc_ecmascript/typescript"]
view = ["dprint-swc-ext/view"]
visit = ["swc_ecmascript/visit"]
utils = ["swc_ecmascript/utils"]
[dependencies]
anyhow = { version = "1.0.43", optional = true }
base64 = { version = "0.13.0", optional = true }
data-url = { version = "0.1.1", optional = true }
dprint-swc-ext = "0.1.1"
serde = { version = "1.0.130", features = ["derive"] }
swc_bundler = { version = "0.147.0", optional = true }
swc_ecmascript = { version = "0.157.0", features = ["parser"] }
text_lines = { version = "0.4.1", features = ["serialization"] }
url = { version = "2.2.2", features = ["serde"], optional = true }
[dev-dependencies]
pretty_assertions = "1.0.0"
serde_json = { version = "1.0.67", features = ["preserve_order"] }