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..
This commit is contained in:
David Hewson 2016-01-09 17:29:15 +00:00
parent 2c11364410
commit 89ec5c45cd
1 changed files with 1 additions and 1 deletions

View File

@ -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 }