Skip to content

Commit aa868a8

Browse files
committed
dependency management
1 parent 5fdcf52 commit aa868a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,15 @@ rustc_version = { version = "0.2.3", optional = true }
4040
env_logger = "0.6"
4141
log = "0.4"
4242
shell-escape = "0.1.4"
43+
hex = "0.3.2"
44+
rand = "0.6"
4345
# A noop dependency that changes in the Rust repository, it's a bit of a hack.
4446
# See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
4547
# for more information.
4648
rustc-workspace-hack = "1.0.0"
47-
hex = "0.3.2"
48-
rand = "0.6"
49+
# Depend on num-traits with default features to avoid having to rebuild
50+
# between "cargo build" and "cargo intall".
51+
num-traits = "*"
4952

5053
[build-dependencies]
5154
vergen = "3"

0 commit comments

Comments
 (0)