forked from biomejs/biome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
117 lines (94 loc) · 2.69 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[package]
name = "rome_fuzz"
version = "0.0.0"
authors = ["Addison Crump <[email protected]>"]
publish = false
edition = "2021"
[features]
default = ["libfuzzer"]
full-idempotency = []
libfuzzer = ["libfuzzer-sys/link_libfuzzer"]
rome_all = []
[package.metadata]
cargo-fuzz = true
[dependencies]
arbitrary = { version = "1.3.0", features = ["derive"] }
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer", default-features = false }
biome_analyze = { path = "../crates/biome_analyze" }
biome_diagnostics = { path = "../crates/biome_diagnostics" }
rome_formatter = { path = "../crates/rome_formatter" }
rome_js_analyze = { path = "../crates/rome_js_analyze" }
rome_js_formatter = { path = "../crates/rome_js_formatter" }
biome_js_parser = { path = "../crates/biome_js_parser" }
biome_js_syntax = { path = "../crates/biome_js_syntax" }
rome_json_formatter = { path = "../crates/rome_json_formatter" }
rome_json_parser = { path = "../crates/rome_json_parser" }
biome_json_syntax = { path = "../crates/biome_json_syntax" }
rome_service = { path = "../crates/rome_service" }
similar = { version = "2.2.1" }
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "rome_parse_all"
path = "fuzz_targets/rome_parse_all.rs"
required-features = ["rome_all"]
[[bin]]
name = "rome_parse_d_ts"
path = "fuzz_targets/rome_parse_d_ts.rs"
[[bin]]
name = "rome_parse_json"
path = "fuzz_targets/rome_parse_json.rs"
[[bin]]
name = "rome_parse_module"
path = "fuzz_targets/rome_parse_module.rs"
[[bin]]
name = "rome_parse_script"
path = "fuzz_targets/rome_parse_script.rs"
[[bin]]
name = "rome_parse_jsx"
path = "fuzz_targets/rome_parse_jsx.rs"
[[bin]]
name = "rome_parse_tsx"
path = "fuzz_targets/rome_parse_tsx.rs"
[[bin]]
name = "rome_parse_typescript"
path = "fuzz_targets/rome_parse_typescript.rs"
[[bin]]
name = "rome_format_all"
path = "fuzz_targets/rome_format_all.rs"
required-features = ["rome_all"]
[[bin]]
name = "rome_format_d_ts"
path = "fuzz_targets/rome_format_d_ts.rs"
[[bin]]
name = "rome_format_json"
path = "fuzz_targets/rome_format_json.rs"
[[bin]]
name = "rome_format_module"
path = "fuzz_targets/rome_format_module.rs"
[[bin]]
name = "rome_format_script"
path = "fuzz_targets/rome_format_script.rs"
[[bin]]
name = "rome_format_jsx"
path = "fuzz_targets/rome_format_jsx.rs"
[[bin]]
name = "rome_format_tsx"
path = "fuzz_targets/rome_format_tsx.rs"
[[bin]]
name = "rome_format_typescript"
path = "fuzz_targets/rome_format_typescript.rs"
# enabling debug seems to cause a massive use of RAM (>12GB)
[profile.release]
opt-level = 3
#debug = true
debug = false
[profile.dev]
opt-level = 3
#debug = true
debug = false
[profile.test]
opt-level = 3
#debug = true
debug = false