2018-02-03 09:51:06 +00:00
|
|
|
[workspace]
|
2021-01-15 17:57:32 +00:00
|
|
|
members = ["xtask/", "lib/*", "crates/*"]
|
2022-04-29 14:29:24 +00:00
|
|
|
exclude = ["crates/proc-macro-test/imp"]
|
2018-08-15 21:23:22 +00:00
|
|
|
|
2023-01-16 15:33:01 +00:00
|
|
|
[workspace.package]
|
|
|
|
rust-version = "1.66"
|
2023-01-16 15:41:47 +00:00
|
|
|
edition = "2021"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
authors = ["rust-analyzer team"]
|
2023-01-16 15:33:01 +00:00
|
|
|
|
2019-10-11 08:06:28 +00:00
|
|
|
[profile.dev]
|
2020-08-18 15:44:51 +00:00
|
|
|
# Disabling debug info speeds up builds a bunch,
|
2019-11-11 07:11:46 +00:00
|
|
|
# and we don't rely on it for debugging that much.
|
|
|
|
debug = 0
|
2019-10-11 08:06:28 +00:00
|
|
|
|
2020-08-18 15:44:51 +00:00
|
|
|
[profile.dev.package]
|
|
|
|
# These speed up local tests.
|
|
|
|
rowan.opt-level = 3
|
|
|
|
rustc-hash.opt-level = 3
|
|
|
|
smol_str.opt-level = 3
|
|
|
|
text-size.opt-level = 3
|
|
|
|
# This speeds up `cargo xtask dist`.
|
|
|
|
miniz_oxide.opt-level = 3
|
|
|
|
|
2018-08-15 21:23:22 +00:00
|
|
|
[profile.release]
|
2021-05-30 23:12:11 +00:00
|
|
|
incremental = true
|
2021-10-19 12:15:47 +00:00
|
|
|
# Set this to 1 or 2 to get more useful backtraces in debugger.
|
|
|
|
debug = 0
|
2020-01-31 19:49:44 +00:00
|
|
|
|
2018-12-30 08:09:17 +00:00
|
|
|
[patch.'crates-io']
|
2020-01-11 21:15:27 +00:00
|
|
|
# rowan = { path = "../rowan" }
|
2020-02-15 17:00:14 +00:00
|
|
|
|
|
|
|
# chalk-solve = { path = "../chalk/chalk-solve" }
|
|
|
|
# chalk-ir = { path = "../chalk/chalk-ir" }
|
2020-10-30 17:57:16 +00:00
|
|
|
# chalk-recursive = { path = "../chalk/chalk-recursive" }
|
2022-10-13 15:39:14 +00:00
|
|
|
# chalk-derive = { path = "../chalk/chalk-derive" }
|
2020-12-15 14:37:37 +00:00
|
|
|
|
|
|
|
# ungrammar = { path = "../ungrammar" }
|
2021-05-06 17:59:54 +00:00
|
|
|
|
|
|
|
# salsa = { path = "../salsa" }
|