forked from biomejs/biome
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
285 lines (274 loc) · 15.2 KB
/
Cargo.toml
File metadata and controls
285 lines (274 loc) · 15.2 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
[workspace]
resolver = "2"
# Use the newer version of the cargo resolver
# https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
members = ["crates/*", "xtask/codegen", "xtask/coverage", "xtask/glue", "xtask/rules_check"]
[workspace.package]
authors = ["Biome Developers and Contributors"]
edition = "2024"
homepage = "https://biomejs.dev/"
repository = "https://github.com/biomejs/biome"
license = "MIT OR Apache-2.0"
keywords = ["formatter", "linter", "parser"]
categories = ["development-tools", "web-programming"]
[workspace.dependencies]
# Crates needed in the workspace
anyhow = "1.0.102"
# publish
biome_analyze = { path = "./crates/biome_analyze", version = "0.5.7" }
biome_analyze_macros = { path = "./crates/biome_analyze_macros" }
biome_aria = { path = "./crates/biome_aria", version = "0.5.7" }
biome_aria_metadata = { path = "./crates/biome_aria_metadata", version = "0.5.7" }
biome_bench_utils = { path = "./crates/biome_bench_utils" }
# not publish
biome_cli = { path = "./crates/biome_cli" }
biome_configuration = { path = "./crates/biome_configuration" }
biome_configuration_macros = { path = "./crates/biome_configuration_macros" }
biome_console = { path = "./crates/biome_console", version = "0.5.7" }
biome_control_flow = { path = "./crates/biome_control_flow", version = "0.5.7" }
biome_css_analyze = { path = "./crates/biome_css_analyze", version = "0.5.7" }
biome_css_factory = { path = "./crates/biome_css_factory", version = "0.5.7" }
biome_css_formatter = { path = "./crates/biome_css_formatter", version = "0.5.7" }
biome_css_parser = { path = "./crates/biome_css_parser", version = "0.5.7" }
biome_css_semantic = { path = "./crates/biome_css_semantic", version = "0.0.0" }
biome_css_syntax = { path = "./crates/biome_css_syntax", version = "0.5.7" }
biome_deserialize = { path = "./crates/biome_deserialize", version = "0.6.0" }
biome_deserialize_macros = { path = "./crates/biome_deserialize_macros", version = "0.6.0" }
biome_diagnostics = { path = "./crates/biome_diagnostics", version = "0.5.7" }
biome_diagnostics_categories = { path = "./crates/biome_diagnostics_categories", version = "0.5.7" }
biome_diagnostics_macros = { path = "./crates/biome_diagnostics_macros", version = "0.5.7" }
biome_flags = { path = "./crates/biome_flags" }
biome_formatter = { path = "./crates/biome_formatter", version = "0.5.7" }
biome_formatter_test = { path = "./crates/biome_formatter_test" }
biome_fs = { path = "./crates/biome_fs", version = "0.5.7" }
biome_glob = { path = "./crates/biome_glob", version = "0.1.0" }
biome_graphql_analyze = { path = "./crates/biome_graphql_analyze", version = "0.0.1" }
biome_graphql_factory = { path = "./crates/biome_graphql_factory", version = "0.1.0" }
biome_graphql_formatter = { path = "./crates/biome_graphql_formatter", version = "0.1.0" }
biome_graphql_parser = { path = "./crates/biome_graphql_parser", version = "0.1.0" }
biome_graphql_semantic = { path = "./crates/biome_graphql_semantic", version = "0.0.0" }
biome_graphql_syntax = { path = "./crates/biome_graphql_syntax", version = "0.1.0" }
biome_grit_factory = { path = "./crates/biome_grit_factory", version = "0.5.7" }
biome_grit_formatter = { path = "./crates/biome_grit_formatter", version = "0.0.0" }
biome_grit_parser = { path = "./crates/biome_grit_parser", version = "0.1.0" }
biome_grit_patterns = { path = "./crates/biome_grit_patterns", version = "0.0.1" }
biome_grit_syntax = { path = "./crates/biome_grit_syntax", version = "0.5.7" }
biome_html_analyze = { path = "./crates/biome_html_analyze", version = "0.5.7" }
biome_html_factory = { path = "./crates/biome_html_factory", version = "0.5.7" }
biome_html_formatter = { path = "./crates/biome_html_formatter", version = "0.0.0" }
biome_html_parser = { path = "./crates/biome_html_parser", version = "0.0.1" }
biome_html_syntax = { path = "./crates/biome_html_syntax", version = "0.5.7" }
biome_js_analyze = { path = "./crates/biome_js_analyze", version = "0.5.7" }
biome_js_factory = { path = "./crates/biome_js_factory", version = "0.5.7" }
biome_js_formatter = { path = "./crates/biome_js_formatter", version = "0.5.7" }
biome_js_parser = { path = "./crates/biome_js_parser", version = "0.5.7" }
biome_js_runtime = { path = "./crates/biome_js_runtime", version = "0.0.1" }
biome_js_semantic = { path = "./crates/biome_js_semantic", version = "0.5.7" }
biome_js_syntax = { path = "./crates/biome_js_syntax", version = "0.5.7" }
biome_js_type_info = { path = "./crates/biome_js_type_info", version = "0.0.1" }
biome_js_type_info_macros = { path = "./crates/biome_js_type_info_macros", version = "0.0.1" }
biome_jsdoc_comment = { path = "./crates/biome_jsdoc_comment", version = "0.0.1" }
biome_json_analyze = { path = "./crates/biome_json_analyze", version = "0.5.7" }
biome_json_factory = { path = "./crates/biome_json_factory", version = "0.5.7" }
biome_json_formatter = { path = "./crates/biome_json_formatter", version = "0.5.7" }
biome_json_parser = { path = "./crates/biome_json_parser", version = "0.5.7" }
biome_json_syntax = { path = "./crates/biome_json_syntax", version = "0.5.7" }
biome_json_value = { path = "./crates/biome_json_value", version = "0.1.0" }
biome_line_index = { path = "./crates/biome_line_index", version = "0.1.0" }
biome_lsp = { path = "./crates/biome_lsp" }
biome_lsp_converters = { path = "./crates/biome_lsp_converters", version = "0.1.0" }
biome_markdown_factory = { path = "./crates/biome_markdown_factory", version = "0.0.1" }
biome_markdown_formatter = { path = "./crates/biome_markdown_formatter", version = "0.0.1" }
biome_markdown_parser = { path = "./crates/biome_markdown_parser", version = "0.0.1" }
biome_markdown_syntax = { path = "./crates/biome_markdown_syntax", version = "0.0.1" }
biome_markup = { path = "./crates/biome_markup", version = "0.5.7" }
biome_migrate = { path = "./crates/biome_migrate" }
biome_module_graph = { path = "./crates/biome_module_graph", version = "0.0.1" }
biome_package = { path = "./crates/biome_package", version = "0.5.7" }
biome_parser = { path = "./crates/biome_parser", version = "0.5.7" }
biome_plugin_loader = { path = "./crates/biome_plugin_loader", version = "0.0.1" }
biome_project_layout = { path = "./crates/biome_project_layout", version = "0.0.1" }
biome_resolver = { path = "./crates/biome_resolver", version = "0.1.0" }
biome_rowan = { path = "./crates/biome_rowan", version = "0.5.7" }
biome_rule_options = { path = "./crates/biome_rule_options", version = "0.0.1" }
biome_ruledoc_utils = { path = "./crates/biome_ruledoc_utils" }
biome_service = { path = "./crates/biome_service" }
biome_string_case = { path = "./crates/biome_string_case", version = "0.5.7", features = ["biome_rowan"] }
biome_suppression = { path = "./crates/biome_suppression", version = "0.5.7" }
biome_tailwind_factory = { path = "./crates/biome_tailwind_factory", version = "0.0.1" }
biome_tailwind_parser = { path = "./crates/biome_tailwind_parser", version = "0.0.1" }
biome_tailwind_syntax = { path = "./crates/biome_tailwind_syntax", version = "0.0.1" }
biome_test_utils = { path = "./crates/biome_test_utils" }
biome_text_edit = { path = "./crates/biome_text_edit", version = "0.5.7" }
biome_text_size = { path = "./crates/biome_text_size", version = "0.5.7" }
biome_ungrammar = { path = "./crates/biome_ungrammar", version = "0.3.1" }
biome_unicode_table = { path = "./crates/biome_unicode_table", version = "0.5.7" }
biome_yaml_factory = { path = "./crates/biome_yaml_factory", version = "0.0.1" }
biome_yaml_parser = { path = "./crates/biome_yaml_parser", version = "0.0.1" }
biome_yaml_syntax = { path = "./crates/biome_yaml_syntax", version = "0.0.1" }
boa_engine = "0.21.0"
boxcar = "0.2.14"
bpaf = { version = "0.9.23", features = ["derive"] }
camino = "1.2.2"
cfg-if = "1.0.4"
countme = "3.0.1"
crossbeam = "0.8.4"
dashmap = "6.1.0"
directories = "6.0.0"
either = "1.15.0"
enumflags2 = "0.7.12"
filetime = "0.2.27"
getrandom = "0.2.15"
globset = "0.4.18"
grit-pattern-matcher = "0.5.1"
grit-util = "0.5.1"
hashbrown = { version = "0.15.5", default-features = false }
ignore = "0.4.25"
indexmap = { version = "2.13.0" }
insta = "1.46.3"
jiff = "0.2.21"
libc = "0.2.182"
mimalloc = "0.1.48"
papaya = "0.2.3"
path-absolutize = { version = "3.1.1", features = ["use_unix_paths_on_wasm"], optional = false }
phf = { version = "0.13.1", features = ["macros"] }
prettyplease = "0.2.37"
proc-macro-error2 = { version = "2.0.1", default-features = false }
proc-macro2 = "1.0.106"
quickcheck = "1.0.3"
quickcheck_macros = "1.1.0"
quote = "1.0.44"
rayon = "1.11.0"
regex = "1.12.3"
rust-lapper = "1.2.0"
rustc-hash = "2.1.1"
schemars = { version = "1.2.1", features = ["indexmap2", "smallvec1"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
similar = "2.7.0"
smallvec = { version = "1.15.1", features = ["const_new", "serde", "union"] }
static_assertions = "1.1"
syn = "1.0.109"
termcolor = "1.4.1"
terminal_size = "0.4.3"
tests_macros = { path = "./crates/tests_macros" }
tikv-jemallocator = "0.6.1"
tokio = "1.49.0"
tower = "0.5.3"
tower-lsp-server = "0.23.0"
tracing = { version = "0.1.44", default-features = false, features = ["attributes", "std"] }
tracing-subscriber = "0.3.22"
unicode-bom = "2.0.3"
unicode-width = "0.1.12"
ureq = "3.1.4"
url = "2.5.8"
uuid = "1.18.1"
walkdir = "2.5.0"
web-time = "1.1.0"
windows = "0.62.2"
xtask_codegen = { path = "xtask/codegen" }
xtask_coverage = { path = "xtask/coverage" }
xtask_glue = { path = "xtask/glue" }
[workspace.lints.clippy]
allow_attributes = "deny"
# pedantic
assigning_clones = "warn"
cargo_common_metadata = "allow"
# restriction
cfg_not_test = "warn"
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
copy_iterator = "warn"
dbg_macro = "warn"
doc_link_with_quotes = "warn"
empty_docs = "allow" # there are some false positives inside biome_wasm
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_enums = "warn"
expl_impl_clone_on_copy = "warn"
explicit_into_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp_const = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
get_unwrap = "warn"
implicit_clone = "warn"
implicit_hasher = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
infinite_loop = "warn"
invalid_upcast_comparisons = "warn"
iter_filter_is_ok = "warn"
iter_not_returning_iterator = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
lossy_float_literal = "warn"
macro_use_imports = "warn"
manual_is_variant_and = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
map_flatten = "warn"
map_unwrap_or = "warn"
mismatching_type_param_order = "warn"
multiple_crate_versions = "allow"
mut_mut = "warn"
naive_bytecount = "warn"
needless_bitwise_bool = "warn"
needless_continue = "warn"
needless_for_each = "warn"
no_effect_underscore_binding = "warn"
option_as_ref_cloned = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
rest_pat_in_fully_bound_structs = "warn"
single_char_pattern = "warn"
stable_sort_primitive = "warn"
str_split_at_newline = "warn"
string_lit_chars_any = "warn"
unnecessary_box_returns = "warn"
unnecessary_join = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
verbose_bit_mask = "warn"
verbose_file_reads = "warn"
zero_sized_map_values = "warn"
# https://github.com/rustwasm/wasm-bindgen/issues/3944
# mem_forget = "warn"
[workspace.lints.rust]
# https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html
ambiguous-negative-literals = "warn"
dead_code = "warn"
explicit-outlives-requirements = "warn"
impl-trait-overcaptures = "warn"
impl-trait-redundant-captures = "warn"
missing-unsafe-on-extern = "warn"
redundant-lifetimes = "warn"
trivial_numeric_casts = "warn"
unit-bindings = "warn"
unsafe-attr-outside-unsafe = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
# Dev optimisations
[profile.dev]
debug = "line-tables-only"
[profile.dev.package."*"]
debug = false
[profile.dev.package.biome_wasm]
opt-level = "s"
debug = true
[profile.release.package.biome_wasm]
opt-level = 3
debug = false
[profile.test.package.biome_wasm]
opt-level = "s"
debug = true
[profile.debugging]
inherits = "dev"
debug = true
[profile.release-with-debug]
inherits = "release"
debug = true