1
1
[workspace ]
2
2
members = [" xtask/" , " lib/*" , " crates/*" ]
3
- exclude = [" crates/proc-macro-test/imp " ]
3
+ exclude = [" crates/proc-macro-srv/proc-macro- test/" ]
4
4
resolver = " 2"
5
5
6
6
[workspace .package ]
7
- rust-version = " 1.70 "
7
+ rust-version = " 1.74 "
8
8
edition = " 2021"
9
9
license = " MIT OR Apache-2.0"
10
10
authors = [" rust-analyzer team" ]
@@ -70,10 +70,9 @@ proc-macro-srv = { path = "./crates/proc-macro-srv", version = "0.0.0" }
70
70
proc-macro-srv-cli = { path = " ./crates/proc-macro-srv-cli" , version = " 0.0.0" }
71
71
profile = { path = " ./crates/profile" , version = " 0.0.0" }
72
72
project-model = { path = " ./crates/project-model" , version = " 0.0.0" }
73
- sourcegen = { path = " ./crates/sourcegen " , version = " 0.0.0" }
73
+ span = { path = " ./crates/span " , version = " 0.0.0" }
74
74
stdx = { path = " ./crates/stdx" , version = " 0.0.0" }
75
75
syntax = { path = " ./crates/syntax" , version = " 0.0.0" }
76
- test-utils = { path = " ./crates/test-utils" , version = " 0.0.0" }
77
76
text-edit = { path = " ./crates/text-edit" , version = " 0.0.0" }
78
77
toolchain = { path = " ./crates/toolchain" , version = " 0.0.0" }
79
78
tt = { path = " ./crates/tt" , version = " 0.0.0" }
@@ -82,19 +81,25 @@ vfs = { path = "./crates/vfs", version = "0.0.0" }
82
81
rustc-dependencies = { path = " ./crates/rustc-dependencies" , version = " 0.0.0" }
83
82
84
83
# local crates that aren't published to crates.io. These should not have versions.
85
- proc-macro-test = { path = " ./crates/proc-macro-test" }
84
+ sourcegen = { path = " ./crates/sourcegen" }
85
+ test-fixture = { path = " ./crates/test-fixture" }
86
+ test-utils = { path = " ./crates/test-utils" }
86
87
87
88
# In-tree crates that are published separately and follow semver. See lib/README.md
88
89
line-index = { version = " 0.1.1" }
89
90
la-arena = { version = " 0.3.1" }
90
- lsp-server = { version = " 0.7.4 " }
91
+ lsp-server = { version = " 0.7.6 " }
91
92
92
93
# non-local crates
93
94
anyhow = " 1.0.75"
95
+ arrayvec = " 0.7.4"
94
96
bitflags = " 2.4.1"
95
97
cargo_metadata = " 0.18.1"
98
+ command-group = " 2.0.1"
99
+ crossbeam-channel = " 0.5.8"
96
100
dissimilar = " 1.0.7"
97
101
either = " 1.9.0"
102
+ expect-test = " 1.4.0"
98
103
hashbrown = { version = " 0.14" , features = [
99
104
" inline-more" ,
100
105
], default-features = false }
@@ -105,6 +110,7 @@ nohash-hasher = "0.2.0"
105
110
rayon = " 1.8.0"
106
111
rust-analyzer-salsa = " 0.17.0-pre.4"
107
112
rustc-hash = " 1.1.0"
113
+ semver = " 1.0.14"
108
114
serde = { version = " 1.0.192" , features = [" derive" ] }
109
115
serde_json = " 1.0.108"
110
116
smallvec = { version = " 1.10.0" , features = [
@@ -124,5 +130,12 @@ tracing-subscriber = { version = "0.3.18", default-features = false, features =
124
130
triomphe = { version = " 0.1.10" , default-features = false , features = [" std" ] }
125
131
xshell = " 0.2.5"
126
132
133
+
127
134
# We need to freeze the version of the crate, as the raw-api feature is considered unstable
128
135
dashmap = { version = " =5.5.3" , features = [" raw-api" ] }
136
+
137
+ [workspace .lints .clippy ]
138
+ collapsible_if = " allow"
139
+ needless_pass_by_value = " allow"
140
+ nonminimal_bool = " allow"
141
+ redundant_pattern_matching = " allow"
0 commit comments