From 67e5c28fd96244ac6e0f6155cf72328c37aad7a3 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 8 Oct 2015 11:09:54 -0400 Subject: [PATCH] Use newer style in Cargo.toml This keeps everything under dependencies, which is nice. --- Cargo.toml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8d0952ab109..e8b81eb8482 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,18 +8,13 @@ repository = "https://github.com/nick29581/rustfmt" readme = "README.md" license = "Apache-2.0/MIT" -[dependencies.strings] -strings = "0.0.1" -git = "https://github.com/nrc/strings.rs.git" - [dependencies] toml = "0.1.20" rustc-serialize = "0.3.14" unicode-segmentation = "0.1.2" regex = "0.1.41" term = "0.2.11" - -[dependencies.diff] -git = "https://github.com/utkarshkukreti/diff.rs.git" +strings = { version = "0.0.1", git = "https://github.com/nrc/strings.rs.git" } +diff = { git = "https://github.com/utkarshkukreti/diff.rs.git" } [dev-dependencies]