2021-08-19 00:36:30 +00:00
|
|
|
[package]
|
2021-08-19 06:08:24 +00:00
|
|
|
name = "backend"
|
2021-08-19 00:36:30 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
actix = "0.10"
|
|
|
|
actix-web = "3"
|
|
|
|
actix-http = "2.2.1"
|
|
|
|
actix-web-actors = "3"
|
|
|
|
actix-codec = "0.3"
|
|
|
|
|
|
|
|
futures = "0.3.15"
|
|
|
|
bytes = "0.5"
|
|
|
|
toml = "0.5.8"
|
|
|
|
dashmap = "4.0"
|
|
|
|
log = "0.4.14"
|
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_repr = "0.1"
|
2021-08-19 14:48:10 +00:00
|
|
|
derive_more = {version = "0.99", features = ["display"]}
|
|
|
|
protobuf = {version = "2.20.0"}
|
2021-08-19 06:08:24 +00:00
|
|
|
flowy-log = { path = "../rust-lib/flowy-log" }
|
2021-08-19 14:48:10 +00:00
|
|
|
flowy-user = { path = "../rust-lib/flowy-user" }
|
2021-08-20 03:52:45 +00:00
|
|
|
flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
|
2021-08-19 06:08:24 +00:00
|
|
|
|
2021-08-19 09:26:07 +00:00
|
|
|
[dependencies.sqlx]
|
|
|
|
version = "0.5.2"
|
|
|
|
default-features = false
|
|
|
|
features = [
|
|
|
|
"runtime-actix-rustls",
|
|
|
|
"macros",
|
|
|
|
"postgres",
|
|
|
|
"uuid",
|
|
|
|
"chrono",
|
|
|
|
"migrate"
|
|
|
|
]
|
|
|
|
|
|
|
|
|
2021-08-19 00:36:30 +00:00
|
|
|
[lib]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[[bin]]
|
2021-08-19 06:08:24 +00:00
|
|
|
name = "backend"
|
2021-08-19 00:36:30 +00:00
|
|
|
path = "src/main.rs"
|