From 87fb5db526e8602c1a34d6cb42b3a31daa83888c Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 6 Dec 2019 08:25:50 +0100 Subject: [PATCH] avoid recompiling Miri on install --- Cargo.lock | 1 + Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 0ccbaaaabec2..9550b2bfdfe3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -339,6 +339,7 @@ dependencies = [ "rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-workspace-hack 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.103 (registry+https://github.com/rust-lang/crates.io-index)", "shell-escape 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "vergen 3.0.4 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/Cargo.toml b/Cargo.toml index ac62d29eb8fc..da9481cce526 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,9 +46,10 @@ rand = "0.7" # for more information. rustc-workspace-hack = "1.0.0" -# Depend on num-traits with default features to avoid having to rebuild +# Some extra dependency for better feature control to avoid having to rebuild # between "cargo build" and "cargo intall". num-traits = "*" +serde = { version = "*", features = ["derive"] } [build-dependencies] vergen = "3"