Make tls
an optional feature
This commit is contained in:
parent
b05acf9c72
commit
82b308f8cf
1 changed files with 4 additions and 1 deletions
|
@ -7,8 +7,11 @@ license = "GPL-3.0-or-later"
|
|||
readme = "README.md"
|
||||
description = "Trigger scripts via http(s) requests"
|
||||
|
||||
[features]
|
||||
tls = ["rocket/tls"]
|
||||
|
||||
[dependencies]
|
||||
rocket = { version = "0.4", features = ["tls"] }
|
||||
rocket = "0.4"
|
||||
rocket_contrib = { version = "0.4", default-features = false, features = ["json"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
|
Loading…
Reference in a new issue