X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=46c64d35c22354d8ff345e44f1c4a7957ee0e357;hb=93128efef8a7577a8e6cc6d2ce17099420dd22a5;hp=97508c57b4f6e0de73c9b0aaab5fd6cd4f3824b7;hpb=1fe0b8c03fa613262afd2d612c55cc3a11249c7e;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 97508c57b4f..46c64d35c22 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,29 @@ [workspace] -members = [ "crates/*", "xtask/" ] +members = ["xtask/", "lib/*", "crates/*"] [profile.dev] -# disabling debug info speeds up builds a bunch, +# Disabling debug info speeds up builds a bunch, # and we don't rely on it for debugging that much. debug = 0 +[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 + [profile.release] incremental = true -debug = 0 # set this to 1 or 2 to get more useful backtraces in debugger +debug = 0 # Set this to 1 or 2 to get more useful backtraces in debugger. [patch.'crates-io'] -# rowan = { path = "../rowan" } \ No newline at end of file +# rowan = { path = "../rowan" } + +# chalk-solve = { path = "../chalk/chalk-solve" } +# chalk-ir = { path = "../chalk/chalk-ir" } +# chalk-recursive = { path = "../chalk/chalk-recursive" } + +# ungrammar = { path = "../ungrammar" }