Add json api

This commit is contained in:
2024-01-31 22:14:50 +01:00
parent cff7dddf4e
commit e9ac30898b
5 changed files with 69 additions and 3 deletions

View File

@ -19,7 +19,7 @@ duplicate = "0.2"
handlebars = "3"
http = "0.2"
ron = "0.6.4"
rocket = { version = "0.5", features = ["secrets"] }
rocket = { version = "0.5", features = ["secrets", "msgpack", "json"] }
rocket_dyn_templates = { version = "0.1.0", features = ["handlebars"] }
tokio = { version = "1", features = ["fs"] }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls"] }