From c19365dcbebce47a02c0cfa1de77fd278c4adb4e Mon Sep 17 00:00:00 2001 From: Jeb Rosen Date: Sat, 6 Jun 2020 16:31:02 -0700 Subject: [PATCH] Make 'notify' an optional dependency. It is now required only when the 'templates' feature is active. --- contrib/lib/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index bb10b2e4..2af02c39 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -13,7 +13,7 @@ edition = "2018" [features] # Internal use only. -templates = ["serde", "serde_json", "glob"] +templates = ["serde", "serde_json", "glob", "notify"] databases = ["r2d2", "rocket_contrib_codegen/database_attribute"] # User-facing features. @@ -55,7 +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" } +notify = { version = "4.0.6", optional = true } # UUID dependencies. uuid = { version = ">=0.7.0, <0.9.0", optional = true }