Make 'notify' an optional dependency.

It is now required only when the 'templates' feature is active.
This commit is contained in:
Jeb Rosen 2020-06-06 16:31:02 -07:00 committed by Sergio Benitez
parent 55d2b2bfb6
commit c19365dcbe
1 changed files with 2 additions and 2 deletions

View File

@ -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 }