From 89ec5c45cd4d898d1a1a516f9b57eef56affd712 Mon Sep 17 00:00:00 2001 From: David Hewson Date: Sat, 9 Jan 2016 17:29:15 +0000 Subject: [PATCH] Don't depend on num's default features; removing rand requirement for build requirement for rand comes from `num`'s default features which are all unused in `chrono` not including the default features means that that `build` no longer requires `rand` (and hence does not pass it on to others importing `chrono`) I thought it should also remove it for `test` / `bench` also but the `serde_json` dev-dependency seems to make it included.. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a509f49..9a5ac5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ name = "chrono" [dependencies] time = "0.1" -num = "0.1" +num = { version = "0.1", default-features = false } rustc-serialize = { version = "0.3", optional = true } serde = { version = "^0.6.0", optional = true }