From 4151cd46db9a871bd2088fbecfea145582edca9e Mon Sep 17 00:00:00 2001 From: Jeb Rosen Date: Sun, 19 Jan 2020 12:42:06 -0800 Subject: [PATCH] Remove [target.'cfg(debug_assertions)'.dependencies] in contrib Cargo.toml. This is not supported and is the same as putting the contents in [dependencies] anyway. It became a warning in rust-lang/cargo#7660. --- contrib/lib/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index 2c7d201641..56b32de5a8 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -55,6 +55,7 @@ rmp-serde = { version = "0.14.0", optional = true } handlebars = { version = "2.0", optional = true } glob = { version = "0.3", optional = true } tera = { version = "1.0.2", optional = true } +notify = { version = "4.0.6" } # UUID dependencies. uuid = { version = ">=0.7.0, <0.9.0", optional = true } @@ -84,8 +85,5 @@ time = { version = "0.1.40", optional = true } brotli = { version = "3.3", optional = true } flate2 = { version = "1.0", optional = true } -[target.'cfg(debug_assertions)'.dependencies] -notify = { version = "^4.0.6" } - [package.metadata.docs.rs] all-features = true