feat: prepare for push notification II

This commit is contained in:
2022-08-17 00:59:06 +08:00
parent f2fa7bb6f8
commit dbb5732938
5 changed files with 79 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ license = "WTFPL-2.0"
[features]
default = ["mastlogin"]
mastlogin = ["url", "reqwest"]
mastlogin = ["reqwest"]
[dependencies]
rocket = { version = "=0.5.0-rc.1", features = ["json"] }
@@ -26,6 +26,7 @@ dotenv = "0.15.0"
sha2 = "0.10.2"
log = "0.4.16"
env_logger = "0.9.0"
web-push = "0.9.2"
url = "2.2.2"
url = { version="2.2.2",optional = true }
reqwest = { version = "0.11.10", features = ["json"], optional = true }