2023-05-21 10:53:59 +00:00
|
|
|
[package]
|
|
|
|
name = "flowy-server"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
2024-01-29 21:36:27 +00:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2023-05-21 10:53:59 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-11-12 13:18:27 +00:00
|
|
|
tracing.workspace = true
|
|
|
|
futures.workspace = true
|
2023-05-21 10:53:59 +00:00
|
|
|
futures-util = "0.3.26"
|
2023-10-23 14:17:11 +00:00
|
|
|
reqwest = { version = "0.11.20", features = ["native-tls-vendored", "multipart", "blocking"] }
|
2023-05-21 10:53:59 +00:00
|
|
|
hyper = "0.14"
|
2023-11-12 13:18:27 +00:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
2023-05-21 10:53:59 +00:00
|
|
|
thiserror = "1.0"
|
2024-05-06 03:30:13 +00:00
|
|
|
tokio = { workspace = true, features = ["sync"] }
|
2023-11-12 13:18:27 +00:00
|
|
|
parking_lot.workspace = true
|
2023-05-21 10:53:59 +00:00
|
|
|
lazy_static = "1.4.0"
|
2023-11-12 13:18:27 +00:00
|
|
|
bytes = { workspace = true, features = ["serde"] }
|
2023-05-21 10:53:59 +00:00
|
|
|
tokio-retry = "0.3"
|
2023-11-12 13:18:27 +00:00
|
|
|
anyhow.workspace = true
|
|
|
|
uuid.workspace = true
|
2024-05-06 03:30:13 +00:00
|
|
|
chrono = { workspace = true, default-features = false, features = ["clock", "serde"] }
|
|
|
|
collab = { workspace = true }
|
|
|
|
collab-plugins = { workspace = true }
|
|
|
|
collab-document = { workspace = true }
|
|
|
|
collab-entity = { workspace = true }
|
|
|
|
collab-folder = { workspace = true }
|
2023-07-29 01:46:24 +00:00
|
|
|
hex = "0.4.3"
|
2023-07-05 12:57:09 +00:00
|
|
|
postgrest = "1.0"
|
2023-12-30 23:29:40 +00:00
|
|
|
lib-infra = { workspace = true }
|
2024-01-11 06:42:03 +00:00
|
|
|
flowy-user-pub = { workspace = true }
|
|
|
|
flowy-folder-pub = { workspace = true }
|
|
|
|
flowy-database-pub = { workspace = true }
|
|
|
|
flowy-document-pub = { workspace = true }
|
2024-01-22 05:34:15 +00:00
|
|
|
flowy-error = { workspace = true, features = ["impl_from_serde", "impl_from_reqwest", "impl_from_url", "impl_from_appflowy_cloud"] }
|
2024-01-11 06:42:03 +00:00
|
|
|
flowy-server-pub = { workspace = true }
|
2023-09-17 09:14:34 +00:00
|
|
|
flowy-encrypt = { workspace = true }
|
|
|
|
flowy-storage = { workspace = true }
|
2024-06-03 06:27:28 +00:00
|
|
|
flowy-chat-pub = { workspace = true }
|
2023-08-31 08:40:40 +00:00
|
|
|
mime_guess = "2.0"
|
|
|
|
url = "2.4"
|
|
|
|
tokio-util = "0.7"
|
2023-11-12 13:18:27 +00:00
|
|
|
tokio-stream = { workspace = true, features = ["sync"] }
|
2023-10-30 04:35:06 +00:00
|
|
|
lib-dispatch = { workspace = true }
|
2024-04-02 02:14:09 +00:00
|
|
|
yrs.workspace = true
|
2024-03-13 11:39:56 +00:00
|
|
|
rand = "0.8.5"
|
2024-05-22 06:24:11 +00:00
|
|
|
semver = "1.0.23"
|
2023-05-21 10:53:59 +00:00
|
|
|
|
2024-03-30 08:28:24 +00:00
|
|
|
[dependencies.client-api]
|
2024-05-07 09:37:11 +00:00
|
|
|
workspace = true
|
2024-03-30 08:28:24 +00:00
|
|
|
features = [
|
|
|
|
"collab-sync",
|
|
|
|
"test_util",
|
2024-04-07 07:22:37 +00:00
|
|
|
"enable_brotli",
|
2024-03-30 08:28:24 +00:00
|
|
|
# Uncomment the following line to enable verbose logging for sync
|
|
|
|
# "sync_verbose_log",
|
|
|
|
]
|
|
|
|
|
2023-05-21 10:53:59 +00:00
|
|
|
[dev-dependencies]
|
2023-11-12 13:18:27 +00:00
|
|
|
uuid.workspace = true
|
2023-07-05 12:57:09 +00:00
|
|
|
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
|
2023-05-21 10:53:59 +00:00
|
|
|
dotenv = "0.15.0"
|
2023-07-30 00:39:01 +00:00
|
|
|
assert-json-diff = "2.0.2"
|
2023-11-12 13:18:27 +00:00
|
|
|
serde_json.workspace = true
|
2024-01-29 21:36:27 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
enable_supabase = ["collab-plugins/postgres_plugin"]
|