11[workspace ]
22members = [" xtask/" , " lib/*" , " crates/*" ]
3- exclude = [" crates/proc-macro-test/imp " ]
3+ exclude = [" crates/proc-macro-srv/proc-macro- test/" ]
44resolver = " 2"
55
66[workspace .package ]
7- rust-version = " 1.70 "
7+ rust-version = " 1.74 "
88edition = " 2021"
99license = " MIT OR Apache-2.0"
1010authors = [" rust-analyzer team" ]
@@ -70,10 +70,9 @@ proc-macro-srv = { path = "./crates/proc-macro-srv", version = "0.0.0" }
7070proc-macro-srv-cli = { path = " ./crates/proc-macro-srv-cli" , version = " 0.0.0" }
7171profile = { path = " ./crates/profile" , version = " 0.0.0" }
7272project-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" }
7474stdx = { path = " ./crates/stdx" , version = " 0.0.0" }
7575syntax = { path = " ./crates/syntax" , version = " 0.0.0" }
76- test-utils = { path = " ./crates/test-utils" , version = " 0.0.0" }
7776text-edit = { path = " ./crates/text-edit" , version = " 0.0.0" }
7877toolchain = { path = " ./crates/toolchain" , version = " 0.0.0" }
7978tt = { path = " ./crates/tt" , version = " 0.0.0" }
@@ -82,19 +81,25 @@ vfs = { path = "./crates/vfs", version = "0.0.0" }
8281rustc-dependencies = { path = " ./crates/rustc-dependencies" , version = " 0.0.0" }
8382
8483# 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" }
8687
8788# In-tree crates that are published separately and follow semver. See lib/README.md
8889line-index = { version = " 0.1.1" }
8990la-arena = { version = " 0.3.1" }
90- lsp-server = { version = " 0.7.4 " }
91+ lsp-server = { version = " 0.7.6 " }
9192
9293# non-local crates
9394anyhow = " 1.0.75"
95+ arrayvec = " 0.7.4"
9496bitflags = " 2.4.1"
9597cargo_metadata = " 0.18.1"
98+ command-group = " 2.0.1"
99+ crossbeam-channel = " 0.5.8"
96100dissimilar = " 1.0.7"
97101either = " 1.9.0"
102+ expect-test = " 1.4.0"
98103hashbrown = { version = " 0.14" , features = [
99104 " inline-more" ,
100105], default-features = false }
@@ -105,6 +110,7 @@ nohash-hasher = "0.2.0"
105110rayon = " 1.8.0"
106111rust-analyzer-salsa = " 0.17.0-pre.4"
107112rustc-hash = " 1.1.0"
113+ semver = " 1.0.14"
108114serde = { version = " 1.0.192" , features = [" derive" ] }
109115serde_json = " 1.0.108"
110116smallvec = { version = " 1.10.0" , features = [
@@ -124,5 +130,12 @@ tracing-subscriber = { version = "0.3.18", default-features = false, features =
124130triomphe = { version = " 0.1.10" , default-features = false , features = [" std" ] }
125131xshell = " 0.2.5"
126132
133+
127134# We need to freeze the version of the crate, as the raw-api feature is considered unstable
128135dashmap = { 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