switched to axum, added BIND_ADDR env var
This commit is contained in:
parent
ae75a24129
commit
6a4bec9e70
4 changed files with 288 additions and 734 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -6,10 +6,12 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
actix-web = "4.0"
|
||||
actix-cors = "0.6"
|
||||
axum = "0.5"
|
||||
http = "0.2"
|
||||
tower-http = { version = "0.3", features = ["cors", "trace", "compression-br", "compression-deflate", "compression-gzip"] }
|
||||
tracing-subscriber = "0.3"
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
reqwest = { version = "0.11", features = ["json", "rustls-tls", "cookies", "gzip"], default-features = false }
|
||||
serde_json = "1.0"
|
||||
thiserror = "1.0"
|
||||
env_logger = "0.9"
|
||||
thiserror = "1.0"
|
||||
Loading…
Add table
Add a link
Reference in a new issue