rust/Cargo.toml

34 lines
930 B
TOML
Raw Normal View History

2018-02-03 03:51:06 -06:00
[workspace]
members = ["xtask/", "lib/*", "crates/*"]
2018-08-15 16:23:22 -05:00
2019-10-11 03:06:28 -05:00
[profile.dev]
2020-08-18 10:44:51 -05:00
# Disabling debug info speeds up builds a bunch,
# and we don't rely on it for debugging that much.
debug = 0
2019-10-11 03:06:28 -05:00
2020-08-18 10:44:51 -05: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 16:23:22 -05:00
[profile.release]
# We do want incremental release builds, but they are broken at the moment :(
# https://github.com/rust-lang/rust/issues/85003#issuecomment-833796289
incremental = false
2020-08-18 10:44:51 -05:00
debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
2018-12-30 02:09:17 -06:00
[patch.'crates-io']
2020-01-11 15:15:27 -06:00
# rowan = { path = "../rowan" }
# chalk-solve = { path = "../chalk/chalk-solve" }
# chalk-ir = { path = "../chalk/chalk-ir" }
# chalk-recursive = { path = "../chalk/chalk-recursive" }
2020-12-15 08:37:37 -06:00
# ungrammar = { path = "../ungrammar" }
# salsa = { path = "../salsa" }