Stephen Seo
8c84aae173
The frontend "server" and backend server must be served via the same port/address. This can be done by using nginx as the server, and using reverse-proxies from nginx to the frontend and backend servers.
18 lines
430 B
TOML
18 lines
430 B
TOML
[package]
|
|
name = "four_line_dropper_backend"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", features = ["full"] }
|
|
warp = "0.3"
|
|
serde_json = "1.0"
|
|
bytes = "1.1"
|
|
rusqlite = "0.27.0"
|
|
rand = "0.8.4"
|
|
futures = "0.3"
|
|
oorandom = "11.1.3"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_derive = "1.0"
|