From 50679f33361b6dbcc5fa9c8da688020a852d6da0 Mon Sep 17 00:00:00 2001 From: bluss Date: Sun, 19 Nov 2017 20:50:40 +0100 Subject: [PATCH] MAINT: Put dependencies in an easier to overview block in Cargo.toml --- Cargo.toml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4c8bb2434..169f0e1d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,28 +23,16 @@ name = "ndarray" bench = false test = true -[dependencies.num-traits] -version = "0.1.32" -default-features = false - -[dependencies.num-complex] -version = "0.1.32" -default-features = false - -[dependencies.rustc-serialize] -version = "0.3.20" -optional = true - [dependencies] +num-traits = { version = "0.1.32", default-features = false } +num-complex = { version = "0.1.32", default-features = false } +rustc-serialize = { version = "0.3.20", optional = true } itertools = { version = "0.7.0", default-features = false } # Use via the `blas` crate feature! blas-sys = { version = "0.6.5", optional = true, default-features = false } matrixmultiply = { version = "0.1.13" } - -[dependencies.serde] # Use via the `serde-1` crate feature! -version = "1.0" -optional = true +serde = { version = "1.0", optional = true } [dev-dependencies] defmac = "0.1"