Use notmuch crate in server and web.

This commit is contained in:
2021-10-29 20:10:06 -07:00
parent bec6f0f333
commit ad996643c9
6 changed files with 894 additions and 220 deletions

View File

@@ -6,6 +6,15 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = "0.5.0-rc.1"
rocket = { version = "0.5.0-rc.1", features = [ "json" ] }
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", branch = "master" }
notmuch = { path = "../notmuch" }
serde_json = "1.0.64"
thiserror = "1.0.26"
serde = { version = "1.0", features = ["derive"] }
log = "0.4.14"
[dependencies.rocket_contrib]
version = "0.4.10"
default-features = false
features = ["json"]