summaryrefslogtreecommitdiffstats
path: root/third_party/rust/jsparagus/Cargo.toml
blob: 289f04a5bc52227125c4dc5aa866a764f0afffc8 (plain)
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
[package]
name = "jsparagus"
authors = ["The jsparagus Project Developers"]
version = "0.1.0"
description = "A JavaScript parser"
license = "MIT/Apache-2.0"
repository = "https://github.com/mozilla-spidermonkey/jsparagus"
publish = false
edition = "2018"

[workspace]

[lib]

[[bin]]
name = "smoosh_tools"
path = "src/bin/smoosh_tools.rs"

[dependencies]
jsparagus-ast = { path = "crates/ast" }
jsparagus-driver = { path = "crates/driver", optional = true }
jsparagus-emitter = { path = "crates/emitter" }
jsparagus-generated-parser = { path = "crates/generated_parser" }
jsparagus-interpreter = { path = "crates/interpreter", optional = true  }
jsparagus-json-log = { path = "crates/json-log"  }
jsparagus-parser = { path = "crates/parser" }
jsparagus-scope = { path = "crates/scope" }
jsparagus-stencil = { path = "crates/stencil" }

[features]
default = []
logging = ["jsparagus-parser/logging"]
full = ["jsparagus-driver", "jsparagus-interpreter"]

[profile.release]
debug = true  # enable debug symbols in release builds