mirror of https://github.com/rwf2/Rocket.git
Make 'notify' an optional dependency.
It is now required only when the 'templates' feature is active.
This commit is contained in:
parent
55d2b2bfb6
commit
c19365dcbe
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue