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]
|
2021-08-21 04:11:33 +00:00
|
|
|
actix = "0.12"
|
|
|
|
#actix-web = "3"
|
|
|
|
#actix-http = "2.2.1"
|
|
|
|
#actix-web-actors = "3"
|
2021-09-16 15:07:15 +00:00
|
|
|
actix-codec = "0.4"
|
2021-08-21 04:11:33 +00:00
|
|
|
actix-web = "4.0.0-beta.8"
|
|
|
|
actix-http = "3.0.0-beta.8"
|
2021-08-31 09:25:08 +00:00
|
|
|
actix-rt = "2"
|
2021-08-21 04:11:33 +00:00
|
|
|
actix-web-actors = { version = "4.0.0-beta.6" }
|
2021-09-02 09:19:23 +00:00
|
|
|
actix-service = "2.0.0-beta.5"
|
2021-08-23 10:39:10 +00:00
|
|
|
actix-identity = "0.4.0-beta.2"
|
2021-09-04 08:32:34 +00:00
|
|
|
actix-cors = "0.6.0-beta.2"
|
2021-08-19 00:36:30 +00:00
|
|
|
|
|
|
|
futures = "0.3.15"
|
2021-08-21 04:11:33 +00:00
|
|
|
bytes = "1"
|
2021-08-19 00:36:30 +00:00
|
|
|
toml = "0.5.8"
|
|
|
|
dashmap = "4.0"
|
|
|
|
log = "0.4.14"
|
2021-09-16 05:41:07 +00:00
|
|
|
|
|
|
|
# tracing
|
|
|
|
tracing = { version = "0.1", features = ["log"] }
|
|
|
|
tracing-futures = "0.2.4"
|
|
|
|
tracing-subscriber = { version = "0.2.12", features = ["registry", "env-filter", "ansi", "json"] }
|
|
|
|
tracing-bunyan-formatter = "0.2.2"
|
|
|
|
tracing-appender = "0.1"
|
|
|
|
tracing-core = "0.1"
|
|
|
|
tracing-log = { version = "0.1.1"}
|
|
|
|
|
|
|
|
# serde
|
2021-08-19 00:36:30 +00:00
|
|
|
serde_json = "1.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_repr = "0.1"
|
2021-08-21 14:02:05 +00:00
|
|
|
serde-aux = "1.0.1"
|
2021-09-16 05:41:07 +00:00
|
|
|
|
|
|
|
|
2021-08-23 10:39:10 +00:00
|
|
|
derive_more = {version = "0.99"}
|
2021-08-19 14:48:10 +00:00
|
|
|
protobuf = {version = "2.20.0"}
|
2021-08-21 05:35:15 +00:00
|
|
|
uuid = { version = "0.8", features = ["serde", "v4"] }
|
2021-08-21 14:02:05 +00:00
|
|
|
config = { version = "0.10.1", default-features = false, features = ["yaml"] }
|
2021-08-31 09:25:08 +00:00
|
|
|
chrono = { version = "0.4", features = ["serde"] }
|
2021-08-22 14:16:03 +00:00
|
|
|
anyhow = "1.0.40"
|
|
|
|
thiserror = "1.0.24"
|
2021-08-23 10:39:10 +00:00
|
|
|
bcrypt = "0.10"
|
|
|
|
jsonwebtoken = "7.2"
|
2021-08-25 09:34:20 +00:00
|
|
|
sql-builder = "3.1.1"
|
2021-08-31 09:25:08 +00:00
|
|
|
lazy_static = "1.4"
|
|
|
|
tokio = { version = "1", features = ["full"] }
|
2021-09-23 11:59:58 +00:00
|
|
|
parking_lot = "0.11"
|
2021-09-24 00:22:24 +00:00
|
|
|
md5 = "0.7.0"
|
2021-09-24 05:26:47 +00:00
|
|
|
futures-core = { version = "0.3", default-features = false }
|
|
|
|
pin-project = "1.0.0"
|
2021-09-24 08:02:17 +00:00
|
|
|
byteorder = {version = "1.3.4"}
|
2021-09-29 09:40:34 +00:00
|
|
|
async-stream = "0.3.2"
|
2021-08-31 09:25:08 +00:00
|
|
|
|
2021-08-19 14:48:10 +00:00
|
|
|
flowy-user = { path = "../rust-lib/flowy-user" }
|
2021-08-24 13:38:53 +00:00
|
|
|
flowy-workspace = { path = "../rust-lib/flowy-workspace" }
|
2021-09-10 07:53:24 +00:00
|
|
|
flowy-document = { path = "../rust-lib/flowy-document" }
|
2021-09-19 15:21:10 +00:00
|
|
|
flowy-ws = { path = "../rust-lib/flowy-ws" }
|
2021-09-24 00:22:24 +00:00
|
|
|
flowy-ot = { path = "../rust-lib/flowy-ot" }
|
2021-09-08 05:50:20 +00:00
|
|
|
flowy-net = { path = "../rust-lib/flowy-net", features = ["http_server"] }
|
2021-08-19 06:08:24 +00:00
|
|
|
|
2021-08-24 13:38:53 +00:00
|
|
|
ormx = { version = "0.7", features = ["postgres"]}
|
2021-08-19 09:26:07 +00:00
|
|
|
[dependencies.sqlx]
|
2021-08-21 04:11:33 +00:00
|
|
|
version = "0.5.6"
|
2021-08-19 09:26:07 +00:00
|
|
|
default-features = false
|
|
|
|
features = [
|
|
|
|
"runtime-actix-rustls",
|
|
|
|
"macros",
|
|
|
|
"postgres",
|
|
|
|
"uuid",
|
|
|
|
"chrono",
|
2021-08-21 15:19:57 +00:00
|
|
|
"migrate",
|
|
|
|
"offline",
|
2021-08-24 13:38:53 +00:00
|
|
|
"any",
|
2021-08-19 09:26:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
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-23 14:10:36 +00:00
|
|
|
path = "src/main.rs"
|
|
|
|
|
2021-10-04 06:24:35 +00:00
|
|
|
[features]
|
|
|
|
flowy_test = []
|
|
|
|
|
2021-08-23 14:10:36 +00:00
|
|
|
[dev-dependencies]
|
2021-09-19 10:39:56 +00:00
|
|
|
parking_lot = "0.11"
|
2021-08-23 14:10:36 +00:00
|
|
|
once_cell = "1.7.2"
|
|
|
|
linkify = "0.5.0"
|
2021-10-04 06:24:35 +00:00
|
|
|
backend = { path = ".", features = ["flowy_test"]}
|
2021-09-29 09:40:34 +00:00
|
|
|
flowy-user = { path = "../rust-lib/flowy-user", features = ["http_server"] }
|
|
|
|
flowy-workspace = { path = "../rust-lib/flowy-workspace", features = ["http_server"] }
|
2021-09-27 15:23:23 +00:00
|
|
|
flowy-ws = { path = "../rust-lib/flowy-ws" }
|
|
|
|
flowy-sdk = { path = "../rust-lib/flowy-sdk" }
|
|
|
|
flowy-test = { path = "../rust-lib/flowy-test" }
|
|
|
|
flowy-infra = { path = "../rust-lib/flowy-infra" }
|
2021-09-29 09:40:34 +00:00
|
|
|
flowy-ot = { path = "../rust-lib/flowy-ot" }
|
|
|
|
flowy-document = { path = "../rust-lib/flowy-document", features = ["flowy_test", "http_server"] }
|
2021-09-30 09:24:02 +00:00
|
|
|
flowy-sqlite = { path = "../rust-lib/flowy-sqlite" }
|
|
|
|
futures-util = "0.3.15"
|