fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
4.4 KiB111 linesraw
1[workspace]
2members = ["xtask/", "lib/*", "crates/*"]
3exclude = ["crates/proc-macro-test/imp"]
4resolver = "2"
5
6[workspace.package]
7rust-version = "1.70"
8edition = "2021"
9license = "MIT OR Apache-2.0"
10authors = ["rust-analyzer team"]
11
12[profile.dev]
13# Disabling debug info speeds up builds a bunch,
14# and we don't rely on it for debugging that much.
15debug = 0
16
17[profile.dev.package]
18# These speed up local tests.
19rowan.opt-level = 3
20rustc-hash.opt-level = 3
21smol_str.opt-level = 3
22text-size.opt-level = 3
23# This speeds up `cargo xtask dist`.
24miniz_oxide.opt-level = 3
25
26[profile.release]
27incremental = true
28# Set this to 1 or 2 to get more useful backtraces in debugger.
29debug = 0
30
31[patch.'crates-io']
32# rowan = { path = "../rowan" }
33
34# chalk-solve = { path = "../chalk/chalk-solve" }
35# chalk-ir = { path = "../chalk/chalk-ir" }
36# chalk-recursive = { path = "../chalk/chalk-recursive" }
37# chalk-derive = { path = "../chalk/chalk-derive" }
38# line-index = { path = "lib/line-index" }
39# la-arena = { path = "lib/la-arena" }
40# lsp-server = { path = "lib/lsp-server" }
41
42
43# ungrammar = { path = "../ungrammar" }
44
45# salsa = { path = "../salsa" }
46
47[workspace.dependencies]
48# local crates
49base-db = { path = "./crates/base-db", version = "0.0.0" }
50cfg = { path = "./crates/cfg", version = "0.0.0" }
51flycheck = { path = "./crates/flycheck", version = "0.0.0" }
52hir = { path = "./crates/hir", version = "0.0.0" }
53hir-def = { path = "./crates/hir-def", version = "0.0.0" }
54hir-expand = { path = "./crates/hir-expand", version = "0.0.0" }
55hir-ty = { path = "./crates/hir-ty", version = "0.0.0" }
56ide = { path = "./crates/ide", version = "0.0.0" }
57ide-assists = { path = "./crates/ide-assists", version = "0.0.0" }
58ide-completion = { path = "./crates/ide-completion", version = "0.0.0" }
59ide-db = { path = "./crates/ide-db", version = "0.0.0" }
60ide-diagnostics = { path = "./crates/ide-diagnostics", version = "0.0.0" }
61ide-ssr = { path = "./crates/ide-ssr", version = "0.0.0" }
62intern = { path = "./crates/intern", version = "0.0.0" }
63limit = { path = "./crates/limit", version = "0.0.0" }
64load-cargo = { path = "./crates/load-cargo", version = "0.0.0" }
65mbe = { path = "./crates/mbe", version = "0.0.0" }
66parser = { path = "./crates/parser", version = "0.0.0" }
67paths = { path = "./crates/paths", version = "0.0.0" }
68proc-macro-api = { path = "./crates/proc-macro-api", version = "0.0.0" }
69proc-macro-srv = { path = "./crates/proc-macro-srv", version = "0.0.0" }
70proc-macro-srv-cli = { path = "./crates/proc-macro-srv-cli", version = "0.0.0" }
71profile = { path = "./crates/profile", version = "0.0.0" }
72project-model = { path = "./crates/project-model", version = "0.0.0" }
73sourcegen = { path = "./crates/sourcegen", version = "0.0.0" }
74stdx = { path = "./crates/stdx", version = "0.0.0" }
75syntax = { path = "./crates/syntax", version = "0.0.0" }
76test-utils = { path = "./crates/test-utils", version = "0.0.0" }
77text-edit = { path = "./crates/text-edit", version = "0.0.0" }
78toolchain = { path = "./crates/toolchain", version = "0.0.0" }
79tt = { path = "./crates/tt", version = "0.0.0" }
80vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
81vfs = { path = "./crates/vfs", version = "0.0.0" }
82
83# local crates that aren't published to crates.io. These should not have versions.
84proc-macro-test = { path = "./crates/proc-macro-test" }
85
86# In-tree crates that are published separately and follow semver. See lib/README.md
87line-index = { version = "0.1.0-pre.1" }
88la-arena = { version = "0.3.1" }
89lsp-server = { version = "0.7.4" }
90
91# non-local crates
92smallvec = { version = "1.10.0", features = [
93  "const_new",
94  "union",
95  "const_generics",
96] }
97smol_str = "0.2.0"
98nohash-hasher = "0.2.0"
99text-size = "1.1.0"
100serde = { version = "1.0.156", features = ["derive"] }
101serde_json = "1.0.96"
102triomphe = { version = "0.1.8", default-features = false, features = ["std"] }
103# can't upgrade due to dashmap depending on 0.12.3 currently
104hashbrown = { version = "0.12.3", features = ["inline-more"], default-features = false }
105
106rustc_lexer = { version = "0.10.0", package = "ra-ap-rustc_lexer" }
107rustc_parse_format = { version = "0.10.0", package = "ra-ap-rustc_parse_format", default-features = false }
108
109# Upstream broke this for us so we can't update it
110rustc_abi = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_abi", default-features = false }
111rustc_index = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_index", default-features = false }