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:
parent
2c11364410
commit
89ec5c45cd
|
@ -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 }
|
||||
|
||||
|
|
Loading…
Reference in New Issue