2023-05-21 18:53:59 +08: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-30 05:36:27 +08:00
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
|
2023-05-21 18:53:59 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2023-11-12 21:18:27 +08:00
|
|
|
tracing.workspace = true
|
|
|
|
futures.workspace = true
|
2023-05-21 18:53:59 +08:00
|
|
|
futures-util = "0.3.26"
|
2023-10-23 17:47:11 +03:30
|
|
|
reqwest = { version = "0.11.20", features = ["native-tls-vendored", "multipart", "blocking"] }
|
2023-05-21 18:53:59 +08:00
|
|
|
hyper = "0.14"
|
2023-11-12 21:18:27 +08:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
2023-05-21 18:53:59 +08:00
|
|
|
thiserror = "1.0"
|
2024-05-06 11:30:13 +08:00
|
|
|
tokio = { workspace = true, features = ["sync"] }
|
2023-11-12 21:18:27 +08:00
|
|
|
parking_lot.workspace = true
|
2023-05-21 18:53:59 +08:00
|
|
|
lazy_static = "1.4.0"
|
2023-11-12 21:18:27 +08:00
|
|
|
bytes = { workspace = true, features = ["serde"] }
|
2023-05-21 18:53:59 +08:00
|
|
|
tokio-retry = "0.3"
|
2023-11-12 21:18:27 +08:00
|
|
|
anyhow.workspace = true
|
|
|
|
uuid.workspace = true
|
2024-05-06 11:30:13 +08: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 09:46:24 +08:00
|
|
|
hex = "0.4.3"
|
2023-07-05 20:57:09 +08:00
|
|
|
postgrest = "1.0"
|
2023-12-31 07:29:40 +08:00
|
|
|
lib-infra = { workspace = true }
|
2024-01-11 14:42:03 +08:00
|
|
|
flowy-user-pub = { workspace = true }
|
|
|
|
flowy-folder-pub = { workspace = true }
|
|
|
|
flowy-database-pub = { workspace = true }
|
|
|
|
flowy-document-pub = { workspace = true }
|
2024-01-22 13:34:15 +08:00
|
|
|
flowy-error = { workspace = true, features = ["impl_from_serde", "impl_from_reqwest", "impl_from_url", "impl_from_appflowy_cloud"] }
|
2024-01-11 14:42:03 +08:00
|
|
|
flowy-server-pub = { workspace = true }
|
2024-06-13 01:37:19 +02:00
|
|
|
flowy-search-pub = { workspace = true }
|
2023-09-17 17:14:34 +08:00
|
|
|
flowy-encrypt = { workspace = true }
|
|
|
|
flowy-storage = { workspace = true }
|
2024-06-20 07:44:57 +08:00
|
|
|
flowy-storage-pub = { workspace = true }
|
2024-08-01 23:13:35 +08:00
|
|
|
flowy-ai-pub = { workspace = true }
|
2023-08-31 16:40:40 +08:00
|
|
|
mime_guess = "2.0"
|
|
|
|
url = "2.4"
|
|
|
|
tokio-util = "0.7"
|
2023-11-12 21:18:27 +08:00
|
|
|
tokio-stream = { workspace = true, features = ["sync"] }
|
2023-10-30 12:35:06 +08:00
|
|
|
lib-dispatch = { workspace = true }
|
2024-04-02 10:14:09 +08:00
|
|
|
yrs.workspace = true
|
2024-03-13 19:39:56 +08:00
|
|
|
rand = "0.8.5"
|
2024-05-22 14:24:11 +08:00
|
|
|
semver = "1.0.23"
|
2023-05-21 18:53:59 +08:00
|
|
|
|
2024-03-30 16:28:24 +08:00
|
|
|
[dependencies.client-api]
|
2024-05-07 17:37:11 +08:00
|
|
|
workspace = true
|
2024-03-30 16:28:24 +08:00
|
|
|
features = [
|
|
|
|
"collab-sync",
|
|
|
|
"test_util",
|
2024-04-07 15:22:37 +08:00
|
|
|
"enable_brotli",
|
2024-03-30 16:28:24 +08:00
|
|
|
# Uncomment the following line to enable verbose logging for sync
|
|
|
|
# "sync_verbose_log",
|
|
|
|
]
|
|
|
|
|
2023-05-21 18:53:59 +08:00
|
|
|
[dev-dependencies]
|
2023-11-12 21:18:27 +08:00
|
|
|
uuid.workspace = true
|
2023-07-05 20:57:09 +08:00
|
|
|
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
|
2023-05-21 18:53:59 +08:00
|
|
|
dotenv = "0.15.0"
|
2023-07-30 08:39:01 +08:00
|
|
|
assert-json-diff = "2.0.2"
|
2023-11-12 21:18:27 +08:00
|
|
|
serde_json.workspace = true
|
2024-01-30 05:36:27 +08:00
|
|
|
|
|
|
|
[features]
|
2024-06-12 17:08:55 +02:00
|
|
|
enable_supabase = ["collab-plugins/postgres_plugin"]
|