forked from biomejs/biome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
159 lines (148 loc) · 7.08 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
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
[workspace]
# Use the newer version of the cargo resolver
# https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
members = [
"crates/*",
"xtask/bench",
"xtask/codegen",
"xtask/coverage",
"xtask/lintdoc",
"xtask/libs_bench",
"xtask/contributors",
]
resolver = "2"
[workspace.lints.clippy]
cargo_common_metadata = "allow"
multiple_crate_versions = "allow"
# pedantic
checked_conversions = "warn"
cloned_instead_of_copied = "warn"
copy_iterator = "warn"
dbg_macro = "warn"
empty_enum = "warn"
expl_impl_clone_on_copy = "warn"
explicit_into_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
fn_params_excessive_bools = "warn"
from_iter_instead_of_collect = "warn"
implicit_clone = "warn"
implicit_hasher = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
macro_use_imports = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
mismatching_type_param_order = "warn"
mut_mut = "warn"
naive_bytecount = "warn"
needless_bitwise_bool = "warn"
needless_continue = "warn"
needless_for_each = "warn"
no_effect_underscore_binding = "warn"
ref_binding_to_reference = "warn"
ref_option_ref = "warn"
stable_sort_primitive = "warn"
unnecessary_box_returns = "warn"
unnecessary_join = "warn"
unnested_or_patterns = "warn"
unreadable_literal = "warn"
verbose_bit_mask = "warn"
zero_sized_map_values = "warn"
[workspace.package]
authors = ["Biome Developers and Contributors"]
categories = ["development-tools", "web-programming"]
edition = "2021"
homepage = "https://biomejs.dev/"
keywords = ["parser", "linter", "formatter"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/biomejs/biome"
[profile.release-with-debug]
debug = true
inherits = "release"
[workspace.dependencies]
# publish
biome_analyze = { version = "0.4.0", path = "./crates/biome_analyze" }
biome_aria = { version = "0.4.0", path = "./crates/biome_aria" }
biome_aria_metadata = { version = "0.4.0", path = "./crates/biome_aria_metadata" }
biome_console = { version = "0.4.0", path = "./crates/biome_console" }
biome_control_flow = { version = "0.4.0", path = "./crates/biome_control_flow" }
biome_css_factory = { version = "0.4.0", path = "./crates/biome_css_factory" }
biome_css_formatter = { version = "0.4.0", path = "./crates/biome_css_formatter" }
biome_css_parser = { version = "0.4.0", path = "./crates/biome_css_parser" }
biome_css_syntax = { version = "0.4.0", path = "./crates/biome_css_syntax" }
biome_deserialize = { version = "0.4.0", path = "./crates/biome_deserialize" }
biome_deserialize_macros = { version = "0.4.0", path = "./crates/biome_deserialize_macros" }
biome_diagnostics = { version = "0.4.0", path = "./crates/biome_diagnostics" }
biome_diagnostics_categories = { version = "0.4.0", path = "./crates/biome_diagnostics_categories" }
biome_diagnostics_macros = { version = "0.4.0", path = "./crates/biome_diagnostics_macros" }
biome_formatter = { version = "0.4.0", path = "./crates/biome_formatter" }
biome_fs = { version = "0.4.0", path = "./crates/biome_fs" }
biome_html_factory = { version = "0.4.0", path = "./crates/biome_html_factory" }
biome_html_syntax = { version = "0.4.0", path = "./crates/biome_html_syntax" }
biome_js_analyze = { version = "0.4.0", path = "./crates/biome_js_analyze" }
biome_js_factory = { version = "0.4.0", path = "./crates/biome_js_factory" }
biome_js_formatter = { version = "0.4.0", path = "./crates/biome_js_formatter" }
biome_js_parser = { version = "0.4.0", path = "./crates/biome_js_parser" }
biome_js_semantic = { version = "0.4.0", path = "./crates/biome_js_semantic" }
biome_js_syntax = { version = "0.4.0", path = "./crates/biome_js_syntax" }
biome_js_transform = { version = "0.4.0", path = "./crates/biome_js_transform" }
biome_json_analyze = { version = "0.4.0", path = "./crates/biome_json_analyze" }
biome_json_factory = { version = "0.4.0", path = "./crates/biome_json_factory" }
biome_json_formatter = { version = "0.4.0", path = "./crates/biome_json_formatter" }
biome_json_parser = { version = "0.4.0", path = "./crates/biome_json_parser" }
biome_json_syntax = { version = "0.4.0", path = "./crates/biome_json_syntax" }
biome_markup = { version = "0.4.0", path = "./crates/biome_markup" }
biome_parser = { version = "0.4.0", path = "./crates/biome_parser" }
biome_rowan = { version = "0.4.0", path = "./crates/biome_rowan" }
biome_suppression = { version = "0.4.0", path = "./crates/biome_suppression" }
biome_text_edit = { version = "0.4.0", path = "./crates/biome_text_edit" }
biome_text_size = { version = "0.4.0", path = "./crates/biome_text_size" }
biome_unicode_table = { version = "0.4.0", path = "./crates/biome_unicode_table" }
# not publish
biome_cli = { path = "./crates/biome_cli" }
biome_flags = { path = "./crates/biome_flags" }
biome_formatter_test = { path = "./crates/biome_formatter_test" }
biome_lsp = { path = "./crates/biome_lsp" }
biome_migrate = { path = "./crates/biome_migrate" }
biome_project = { path = "./crates/biome_project" }
biome_service = { path = "./crates/biome_service" }
biome_test_utils = { path = "./crates/biome_test_utils" }
biome_ungrammar = { path = "./crates/biome_ungrammar" }
tests_macros = { path = "./crates/tests_macros" }
# Crates needed in the workspace
bitflags = "2.3.1"
bpaf = { version = "0.9.5", features = ["derive"] }
convert_case = "0.6.0"
countme = "3.0.1"
dashmap = "5.4.0"
ignore = "0.4.21"
indexmap = "1.9.3"
insta = "1.29.0"
lazy_static = "1.4.0"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
quote = { version = "1.0.28" }
regex = "1.10.3"
rustc-hash = "1.1.0"
schemars = { version = "0.8.12" }
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
smallvec = { version = "1.10.0", features = ["union", "const_new"] }
tracing = { version = "0.1.37", default-features = false, features = ["std"] }
unicode-bom = "2.0.3"
# pinning to version 1.18 to avoid multiple versions of windows-sys as dependency
tokio = { version = "~1.18.5" }
[profile.dev.package.biome_wasm]
debug = true
opt-level = "s"
[profile.test.package.biome_wasm]
debug = true
opt-level = "s"
[profile.release.package.biome_wasm]
debug = false
opt-level = 3