mailpot/rest-http/Cargo.toml

50 lines
1.3 KiB
TOML
Raw Normal View History

2020-08-15 22:10:49 +03:00
[package]
name = "mailpot-http"
2023-04-29 18:29:16 +03:00
version = "0.1.1"
2020-08-15 22:10:49 +03:00
authors = ["Manos Pitsidianakis <el13635@mail.ntua.gr>"]
edition = "2021"
2020-08-15 22:10:49 +03:00
license = "LICENSE"
readme = "README.md"
description = "mailing list manager"
repository = "https://github.com/meli/mailpot"
2023-03-31 20:06:56 +03:00
keywords = ["mail", "mailing-lists"]
2020-08-15 22:10:49 +03:00
categories = ["email"]
default-run = "mpot-http"
[[bin]]
name = "mpot-http"
path = "src/main.rs"
[dependencies]
2023-05-12 16:07:55 +03:00
async-trait = "0.1"
axum = { version = "0.6", features = ["headers"] }
2023-05-13 23:42:55 +03:00
axum-extra = { version = "^0.7", features = ["typed-routing"] }
2023-05-12 16:07:55 +03:00
#jsonwebtoken = "8.3"
bcrypt = "0.14"
config = "0.13"
http = "0.2"
lazy_static = "1.4"
log = "0.4"
2023-04-28 20:44:46 +03:00
mailpot = { version = "^0.1", path = "../core" }
2023-05-12 16:07:55 +03:00
mailpot-web = { version = "^0.1", path = "../web" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
stderrlog = { version = "^0.6" }
2023-05-12 16:07:55 +03:00
thiserror = "1"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.4", features = [
"trace",
"compression-br",
"propagate-header",
"sensitive-headers",
"cors",
] }
[dev-dependencies]
assert-json-diff = "2"
2023-05-13 23:42:55 +03:00
hyper = { version = "0.14" }
mailpot-tests = { version = "^0.1", path = "../mailpot-tests" }
2023-05-12 16:07:55 +03:00
reqwest = { version = "0.11", features = ["json"] }
tempfile = { version = "3.9" }
2023-05-13 23:42:55 +03:00
tower = { version = "^0.4" }