]> git.lizzy.rs Git - rust.git/blob - Cargo.toml
Replace logo in readme with SVG version
[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.dev.package]
10 # These speed up local tests.
11 rowan.opt-level = 3
12 rustc-hash.opt-level = 3
13 smol_str.opt-level = 3
14 text-size.opt-level = 3
15 # This speeds up `cargo xtask dist`.
16 miniz_oxide.opt-level = 3
17
18 [profile.release]
19 incremental = true
20 debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger.
21
22 # Ideally, we would use `build-override` here, but some crates are also
23 # needed at run-time and we end up compiling them twice.
24 [profile.release.package]
25 chalk-derive.opt-level = 0
26 proc-macro2.opt-level = 0
27 quote.opt-level = 0
28 salsa-macros.opt-level = 0
29 serde_derive.opt-level = 0
30 syn.opt-level = 0
31 tracing-attributes.opt-level = 0
32 xtask.opt-level = 0
33
34 [patch.'crates-io']
35 # rowan = { path = "../rowan" }
36
37 [patch.'https://github.com/rust-lang/chalk.git']
38 # chalk-solve = { path = "../chalk/chalk-solve" }
39 # chalk-rust-ir = { path = "../chalk/chalk-rust-ir" }
40 # chalk-ir = { path = "../chalk/chalk-ir" }