]> git.lizzy.rs Git - rust.git/blobdiff - Cargo.toml
Explain `tests::init` function
[rust.git] / Cargo.toml
index cf6f4c8b2ee965bdc073a671af84a3ddc418118d..af73a7af31c712d0c29cf2ab4d72c1d93d9a8bae 100644 (file)
@@ -29,7 +29,7 @@ smallvec = "1.7"
 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
 # for more information.
 rustc-workspace-hack = "1.0.0"
-measureme = "9.1.2"
+measureme = "10.0.0"
 
 # Enable some feature flags that dev-dependencies need but dependencies
 # do not.  This makes `./miri install` after `./miri build` faster.
@@ -39,7 +39,8 @@ libc = "0.2"
 [dev-dependencies]
 colored = "2"
 ui_test = { path = "ui_test" }
-regex = "1.5.5"
+# Features chosen to match those required by env_logger, to avoid rebuilds
+regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
 lazy_static = "1.4.0"
 
 [package.metadata.rust-analyzer]
@@ -50,3 +51,9 @@ rustc_private = true
 [[test]]
 name = "compiletest"
 harness = false
+
+[features]
+default = ["stack-cache"]
+# Will be enabled on CI via `--all-features`.
+expensive-debug-assertions = []
+stack-cache = []