From 0f1938ae205c812b99296ba231c31c3d2a7bfd07 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 7 May 2020 12:32:19 -0700 Subject: [PATCH] wpi --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8428a8ac7..3f23c636b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,10 @@ fallible-iterator = { version = "0.2.0", default-features = false, optional = tr indexmap = { version = "1.0.2", optional = true } stable_deref_trait = { version = "1.1.0", default-features = false, optional = true } +core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' } +alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' } +compiler_builtins = { version = '0.1.2', optional = true } + [dev-dependencies] crossbeam = "0.7.1" getopts = "0.2" @@ -37,6 +41,7 @@ read = ["stable_deref_trait"] write = ["indexmap"] std = ["fallible-iterator/std", "stable_deref_trait/std"] default = ["read", "write", "std", "fallible-iterator"] +rustc-dep-of-std = ['core', 'alloc', 'compiler_builtins', 'stable_deref_trait/rustc-dep-of-std'] [profile.bench] debug = true