]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Make sure there are no commands in code actions
[rust.git] / Cargo.toml
1 [workspace]
2 members = [ "crates/*", "xtask/" ]
3
4 [profile.dev]
5 # disabling debug info speeds up builds a bunch,
6 # and we don't rely on it for debugging that much.
7 debug = 0
8
9 [profile.release]
10 incremental = true
11 debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger
12
13 # ideally, we would use `build-override` here, but some crates are also
14 # needed at run-time and we end up compiling them twice
15 [profile.release.package.proc-macro2]
16 opt-level = 0
17 [profile.release.package.quote]
18 opt-level = 0
19 [profile.release.package.syn]
20 opt-level = 0
21 [profile.release.package.serde_derive]
22 opt-level = 0
23 [profile.release.package.chalk-derive]
24 opt-level = 0
25 [profile.release.package.salsa-macros]
26 opt-level = 0
27 [profile.release.package.tracing-attributes]
28 opt-level = 0
29 [profile.release.package.xtask]
30 opt-level = 0
31
32 # Gzipping the artifacts is up to 10 times faster with optimizations (`cargo xtask dist`).
33 # `miniz_oxide` is the direct dependency of `flate2` which does all the heavy lifting
34 [profile.dev.package.miniz_oxide]
35 opt-level = 3
36
37 [patch.'crates-io']
38 # rowan = { path = "../rowan" }
39
40 [patch.'https://github.com/rust-lang/chalk.git']
41 # chalk-solve = { path = "../chalk/chalk-solve" }
42 # chalk-rust-ir = { path = "../chalk/chalk-rust-ir" }
43 # chalk-ir = { path = "../chalk/chalk-ir" }